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 authen
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
That works, but it changes the behavior of all cookies set in the
site.
What if I need to have different expiration times for different
cookies, or if I have to offer the user an option on how long the
cookies' kept?
--~--~-~--~~~---~--~~
You received this message
What about the "log user out after 30 minutes" part of my quesiton?
On Jun 17, 2:11 am, "Chatchai Neanudorn" <[EMAIL PROTECTED]> wrote:
> Rob
>
> You can control cookie expiration by setting SESSION_COOKIE_AGE.
> Default value is 2 week (1209600 seconds). You can try 'remember' user login
On Jun 18, 3:02 am, itsnotvalid <[EMAIL PROTECTED]> wrote:
> That works, but it changes the behavior of all cookies set in the
> site.
> What if I need to have different expiration times for different
> cookies, or if I have to offer the user an option on how long the
> cookies' kept?
There's rece
5 matches
Mail list logo