Rob

        You can control cookie expiration by setting SESSION_COOKIE_AGE.
Default value is 2 week (1209600 seconds). You can try 'remember' user login
by closing browser without clicking 'Log out' button. Nex time your visite
that page, you can access it without re-login.

        For security reason, you can set cookie to '
SESSION_EXPIRE_AT_BROWSER_CLOSE' to True.




2007/6/16, rtconner <[EMAIL PROTECTED]>:
>
>
> Hello, I'm new to DJango, but have used other frameworks.
>
> (http://www.djangoproject.com/documentation/authentication/)
> I love the fairly complete docs on authentication. I had one question
> which did not get answered. Is there any concept of login expiration
> time implemented in the builting authentication? Perhaps log a user
> out after 30 minutes of inactivity. And what about setting cookies to
> remember a user for the next time they open their browser, is this
> handled by the authentication?
>
> Thanks, DJango looks nice. I'm excited about digging in.
>
> -Rob
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to