Hi, I would like to know if there is a way to detect if a session in no 
longer active, I'll explain better. I have a setup in my web app where when 
a user logs in automatically his
session is set to expire at browser close:
 
request.session.set_expiry(0)

But despite this work effectively, the session age time is set to 
*SESSION_COOKIE_AGE 
*by default (2 weeks), my intention is not diminish this value, what I 
would like to know
is when the session is no longer active because the user close his browser. 
I already check the Session model code and SessionStore class. I would 
appreciate the help thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c47f2c0e-8444-47e3-9b16-73bc5dd463c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to