Changing the admin login expiration only affects the admin app itself, not 
appadmin, which delegates access to admin. If you want to change the 
expiration for appadmin, then you'll have to edit appadmin.py 
at 
https://github.com/web2py/web2py/blob/master/applications/welcome/controllers/appadmin.py#L55:

gluon.fileutils.check_credentials(request, expiration=48 * 60 * 60)

Anthony

On Wednesday, March 5, 2014 11:07:05 AM UTC-5, User wrote:
>
> No I am not being redirected to admin login page first.  I have edited 
> admin/models/0.py:
>
> EXPIRATION = 48 * 60 * 60  # logout after 48 hours of inactivity
>
> A while could be 24 hours.
>
>
> On Tuesday, March 4, 2014 4:28:38 PM UTC-5, Anthony wrote:
>
>> On Tuesday, March 4, 2014 4:06:58 PM UTC-5, User wrote:
>>>
>>> I am already logged in, but haven't visited the site in a while.
>>>
>>
>> How long is "a while"? By default, I believe the admin login lasts for 
>> only 60 minutes. When you go to appadmin, you say you first get redirected 
>> to admin. My question is are you being redirected to the admin login page 
>> prior to seeing the admin interface?
>>
>> Anthony
>>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to