5
Hi jensclas
I think custom sessions aren't a good idea - read about problems with it on XOOPS 2.2.x.
And even if u edit it in system prefer, there is a max which u cannot exceed.
I would to know how to hard code the expiry time into the scripts.
I changed this is include/common.php
if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {^M
// setcookie($xoopsConfig['session_name'], session_id(), time()+(60*$xoopsConfig['session_expire'
]), '/', '', 0);^M
// commented out above and added line below 43200s = 12hrs
setcookie($xoopsConfig['session_name'], session_id(), time()+ 43200, '/', '', 0);^M
}^M
$xoopsUser->setGroups($_SESSION['xoopsUserGroups']);^M
Thank you
gui