
I use createEmailPasswordSession in node-appwriter to get a session secret which I then store in the cookies. Then I create a SessionClient with the session secret from the cookies and try to do new Accoint(sessionClient).deleteSession(/* the session from the cookies */); but it returns ths error

If you want to delete the current session, you should use deleteSession('current')

oh my god im stupid ive been trying to fix this for ages

but just now i realized


this probably means it worked, right? ðŸ˜

Yeah, this means that the user isn't currently logged in

bruuuuh ðŸ˜

well, thank you x3
Recommended threads
- 401 - Project is not accessible in this ...
This is on the app write console https://screen.aryanwadhera.tech/7YTVhLTf
- functions page returns 500
I am running selfhosted appwrite version 1.6.0 and all of a sudden my functions page stopped working, returning a 500. I don't see anything in the logs that wo...
- Custom domain not working properly
I am using custom domain for my appwrite cloud and I am trying to get JWT token but i am getting this error `API Route: Error verifying JWT or getting user: Typ...
