Authentication expiration time

2007-06-16 Thread rtconner
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

Re: Authentication expiration time

2007-06-17 Thread Chatchai Neanudorn
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

Re: Authentication expiration time

2007-06-17 Thread itsnotvalid
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

Re: Authentication expiration time

2007-06-17 Thread rtconner
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

Re: Authentication expiration time

2007-06-17 Thread SmileyChris
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