Re: remember me on this computer vs SESSION_EXPIRE_AT_BROWSER_CLOSE

2009-01-31 Thread SmileyChris
You're on the right track. As the docs state, you can then override the site-wide setting: http://docs.djangoproject.com/en/dev/topics/http/sessions/#browser-length-sessions-vs-persistent-sessions Steve's comment about requiring a "huge session store" is not really too much of an issue. It's

Re: remember me on this computer vs SESSION_EXPIRE_AT_BROWSER_CLOSE

2009-01-31 Thread Steve Holden
felix wrote: > > I'm trying to implement the standard option "remember me on this computer" > > which in practice means expire the session or not at the end of the > session No it doesn't: you want the session to end when the user logs out, otherwise in a large site you would end up needing a

remember me on this computer vs SESSION_EXPIRE_AT_BROWSER_CLOSE

2009-01-31 Thread felix
I'm trying to implement the standard option "remember me on this computer" which in practice means expire the session or not at the end of the session it looks like django's auth uses a sitewide setting SESSION_EXPIRE_AT_BROWSER_CLOSE does anybody know the best way to approach this ? is it