you might also want to take a look at this "Remember me for login"
snippet from django snippets

http://djangosnippets.org/snippets/1881/

On Nov 27, 6:00 am, robos85 <prog...@gmail.com> wrote:
> request.session.set_expiry() it's ideal for me:)
>
> On 27 Lis, 02:01, Addy Yeow <ayeo...@gmail.com> wrote:
>
> > i use thishttp://djangosnippets.org/snippets/1881/
>
> > On Sat, Nov 27, 2010 at 8:07 AM, robos85 <prog...@gmail.com> wrote:
> > > Is there any easy way to do remember me trigger during login?
> > > I know that there is SESSION_COOKIE_AGE but it's set site-wide. Is
> > > there any possibility to set expiration at browser close or x time?
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Django users" group.
> > > To post to this group, send email to django-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@google
> > >  groups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to