I have a Django application deployed to the Google App Engine that is registering its users prematurely. But the browser window / tab does not close. In settings.py, I have this code:
SESSION_COOKIE_AGE = 365 * 24 * 60 * 60 SESSION_EXPIRE_AT_BROWSER_CLOSE = False
I also tried using this code right after calling auth.login() :
request.session.set_expiry(30*24*60*60)
Is there a way that I can allow the auth.login session length to be much longer, say, a year?
source share