It seems lately all of my phpr projects regardless of version (5.1 & 5.2 mainly) have had time out issues. The problem is not with the length of the time out, but rather what the user is doing on the computer. If I am signed into a project and then use a different project at the same time in a different tab or even sometime browser the next time I try to use the 1st project again it shows me timing out. Yet it is not consistent nor is it always another phpr project that causes the issue, it could be something on the Internet that requires a sign in (though most likely was not built in phpr). Then there are times where I must not go to any sites that cause a problem because I can be signed in for hour(s) without issues.
php.ini settings of note, not sure if there are other settings in the php.ini I should check
session.use_cookies = 1
; session.use_only_cookies = 1
session.cookie_lifetime = 0
I have also tried (mostly found on this forum)
try to open generated include/dbcommon.php file and uncomment following line:
// @session_set_cookie_params(0,$dirname);
Another Idea, refresh the page every 5 minutes, but in html:
<meta http-equiv="refresh" content="5" />
After successful login event:
ini_set("session.gc_maxlifetime","3600");
I am now at a loss for what to do next. Is there some other method of security I could use other than cookies (what I believe to be the issue)? Is there some type of debugging I could do to try and get more info about why this is happening to so many of my users and the various phpr projects I have built.
Any help will be greatly appreciated