If I recall correctly, the default login expiration for the standard web2py 
login functionality is 1 hour (from last access).

If you enable the 'remember me' checkbox on login it should set the expiry 
to 30 days (by default).  You should also be able to set a custom long 
expiration time with auth.settings.long_expiration:  

For example, I have this in one of my model files which keeps me logged in 
for a month:

auth.settings.long_expiration = 2592000    # seconds in one month
auth.settings.remember_me_form = True
auth.messages.label_remember_me = "Remember me (for 30 days)"

More info:  
http://www.web2py.com/books/default/chapter/29/09#Auth-Settings-and-messages

HTH,
Jose

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7241821b-130c-4871-bb9c-a8c4fcde554ao%40googlegroups.com.

Reply via email to