Hi,
If this has been covered beore, I am not finding it in searches of this forum or the trac.
It appears there is now a Control Session Time that is hard set in admin.defines.php without any regard to admin activity.
This has logged me off in the middle of doing tasks. Is the really suppose to work this way?
Can I increase the time by changing the 3600 values below (both of them) to a new value (say 10800)
Kind Regards,
Les
// Control Session Time if (isset($_SESSION['startTime'])) { $timeDiff = time() - $_SESSION['startTime'];
//destroy session if ($timeDiff > 3600) { // 60 minutes //echo "You've been logged in too long. ($timeDiff)"; $_SESSION = array(); session_destroy(); setcookie('PHPSESSID', '', time()-3600, '/', '', 0,0); } } else { $_SESSION['startTime'] = time(); }
|