Greetings All!
I'm working with some open source software.
Apparently, for user management, it creates a cookie containing the php session id for the user... and then creates the appropriate session file on the back-end in the /tmp directory.
Now, some of my users are complaining that their sessions are timing out after 20 minutes. So, I'm trying to investigate.
I THINK the cookie's actually being set to a timeout of "0".... but the code to create the cookie seems to be set to more than this:
if (isset($GET["SetUserIDCookie"])) {
setcookie("UserID",$GET["SetUserIDCookie"],time()+7200);
}
As far as the session goes, the php.ini file is set to a default timeout of 180 minutes.
How can I PROVE what the session expiration time is going to be? How can I print what the server "thinks" the sessions expire time is?
Thanks!
-= Dave =-