2008-08-13, 11:27 PM
2008-08-14, 12:53 AM
Hi,
Is there any particular reason you want this?
By default, admin sessions expire after 2 hours, and pruned randomly, however it isn't implemented as a task for various reasons.
Is there any particular reason you want this?
By default, admin sessions expire after 2 hours, and pruned randomly, however it isn't implemented as a task for various reasons.
2008-08-14, 07:48 AM
(2008-08-14, 12:53 AM)ZiNgA BuRgA Wrote: [ -> ]Hi,
Is there any particular reason you want this?
By default, admin sessions expire after 2 hours, and pruned randomly, however it isn't implemented as a task for various reasons.
Thanks for replying Zinga.
Yes, there is a problem with default session duration. It´s too long to a 6 admins forum like mine
Admins of my Community, including me, access the Forum in University and Job, so shortening the sessions I´ll be sure that they are really themselves using admin and not any curious person who access their computers at lunch break or whatever
and Top Link 'Admin CP' is enabled because Profile View in forum only show "Edit user in ModCP" and not "Edit user in Admin CP" like 1.2x
..
2008-08-14, 11:06 PM
It's a good idea to ask your admins to log out when they're done on public computers - they should really make that a habit actually...
But I see what you mean anyway. Try this, open up admin/index.php:
find
But I see what you mean anyway. Try this, open up admin/index.php:
find
if($admin_session['lastactive'] < TIME_NOW-7200)
the number "7200" is the time in seconds (7200 seconds = 2 hours) when the session expires. Try changing the number to 900 (15 minutes).