Set the session length up - I use 2 weeks:

SESSION_COOKIE_AGE = 1209600

in settings.py



On 1/21/07, Guillermo Fernandez Castellanos <
[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I have some web sites where some identification is needed. In those,
> when I log in and do not explicitelly log out, I keep logged for days
> and days, and when I go back to the page I'm still logged in.
>
> i guess (and it's only a guess) that, because the authentification
> work with sessions, you'll be logged in for as long as the session
> lasts. So you don't really need a "remember me".
>
> Hope it helps,
>
> G
>
> On 1/21/07, johnny <[EMAIL PROTECTED]> wrote:
> >
> > How do I set "remember me" in Django, so that user doesn't have to log
> > in every time.  Is there a good tutorial or sample code some where?
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to