hi it appears there is a bug in react hook ```useS...
# support-questions-legacy
t
hi it appears there is a bug in react hook
Copy code
useSessionContext
after I log out this still shows as active, even though my protected route shows 401 to log out I am calling:
Copy code
await req.session!.revokeSession()
I have a workaround but not sure if that is expected
FYI docs say it will delete frontend cookies but it doesn't:
Copy code
// This will delete the session from the db and from the frontend (cookies)
    await req.session!.revokeSession();
n
Hmm, @porcellus Might be able to help here. Hell be on later in the day
p
Hi, could you show me the response (esp. the headers) to the request that calls
revokeSession
?