1
Hi All
I'm using xoops.2.2.3.
I set the Session expiration in XOOPS adminstration (in Preferences->General Settings) to 14400 (10 days), but it doesn't seem to work. I think XOOPS session still expires after 15 mins if idle time.
Then I went to class/xoopssecurity.php and modified these lines
if ($timeout == 0) {^M
$timeout = intval($GLOBALS['xoopsConfig']['session_expire']) * 60; //session_expire is in minutes, we need seconds^M
if ($timeout == 0 || $timeout > 100000) { //if timeout is still zero - or a very large value^M (changed form 1000 to 100000)
$timeout = 60*60*24; //set timeout to 60 minutes ^M (changed to 1 day)
}^M
But still didn't work - (I think xoopssecurity.php is only for the special admin session).
Does anybody know how to set the session expiry time to 10 days? (or 1 day).
Thank you very much in anticipation.
gui