Answer the question
In order to leave comments, you need to log in
Do you want to delete the session or its parameter on logout?
When logout, should I do session.destroy()
or just remove the flag req.session.authenticated
? And why is it so and not otherwise?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question