Re: remember me in login
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.
Re: remember me in login
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.
Re: remember me in login
Hello robos85, On Nov 26, 4:07 pm, robos85 <prog...@gmail.com> wrote: > Is there any easy way to do remember me trigger during login? For remember me functionality you can try my remember me app at <http://code.google.com/p/django-remember-me/>. > 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 can accomplish the first with remember me and by not checking the remember me checkbox. The second is also possible but my app doesn't do that. You could probably adapt the code in remember me to do x time or at least it might point you in the right direction. Others have dealt with this issue I'm sure a Google search would product some results. Toodle-loo... creecode -- 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.
Re: remember me in login
i use this http://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...@googlegroups.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.
remember me in login
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. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.