¡@

Home 

python Programming Glossary: session_cookie_age

How to expire session due to inactivity in Django?

http://stackoverflow.com/questions/3024153/how-to-expire-session-due-to-inactivity-in-django

Requirement 2 I have seen a few recommendations to use SESSION_COOKIE_AGE to set the session expiry period. But this method has the following.. problems. The session always expires at the end of the SESSION_COOKIE_AGE even if the user is actively using the application. This can.. This can be prevented by setting the session expiry to SESSION_COOKIE_AGE on every request using a custom middleware or by saving the..