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 your responsibility to keep the session table clean: http://docs.djangoproject.com/en/dev/topics/http/sessions/#clearing-the-session-table On Feb 1, 9:29 am, felix <crucialfe...@gmail.com> 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 > > 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 the > SessionMiddleware that should be replaced ? > > felix : crucial-systems.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---