Hey guys,
Got a bit of an issue on the system I'm developing, with session cookies being prematurely dropped, despite being explicitly told to last for 12 hours.
Other cookies I'm setting are lasting their designated 14 days.
The browser in question is Firefox (internal system, we're all using FF 19+)
In the base include file, I have the following lines to initialize the session:
if(php_sapi_name() !== 'cli') {
if(!isset($_SESSION)) {
session_set_cookie_params(43200);
session_start();
}
}
[uk3.php.net ] And in the Web Developer Toolbar cookie viewer it is being shown as:
Name PHPSESSID
Valued 9hgs8ekjo2g2oeen0pvq2a630
Host [[HIDDEN]].co.uk
Path /
Expires Wed, 08 May 2013 03:20:34 GMT
Secure No
HttpOnly No
Note that the "Expires" there is 12 hours after the last time I performed an action on the site
I've dug through the about:config settings, and made the following changes, which when rolled out fixed it for several users (myself included), but several people are still experiencing the issue:
network.cookie.alwaysAcceptSessionCookies;true
privacy.clearOnShutdown.cookies;false
services.sync.prefs.sync.privacy.clearOnShutdown.cookies;false
And despite much Googling and quizzing my colleagues, I'm all out of ideas for what to do.
So, I'm *really* hoping one of you guys might have some insight as to why this is happening, and how to go about fixing it.
Thanks in advance,
Mike