Django SET EXPIRY TO 0 is not expiring it to browser close expiry

168 views
Skip to first unread message

Umar Asghar

unread,
Nov 2, 2017, 7:18:13 AM11/2/17
to Django developers (Contributions to Django itself)
HI I am using DJango 1.10.5 and Django-allauth 0.31.0.

But I am trying to implement REMEMBER ME for login. So when I try to run this command 
request = request.session.set_expiry(0)
It does not change the session cookie age.

But If I try to set value other than 0, it updates session cookie age. 


Will you please update me about it?

Tim Graham

unread,
Nov 2, 2017, 11:48:16 AM11/2/17
to Django developers (Contributions to Django itself)
Hi, It sounds like you're asking for help debugging your project. Please use the django-users mailing list for that. This mailing list is for the development of Django itself.
 
I'd guess you'll be more likely to get help if you include a sample project that reproduces the problem.
Reply all
Reply to author
Forward
0 new messages