PHP Session settings ignored?
I just read an extremely interesting post which explains an unwanted side effect of garbage collection by some Debian based systems. This cleanup process causes (maybe amongst other things) sessions to be cleared every 24 minutes, regardless of any ini setting you have set after the php.ini file is parsed (for example using ini_set() – if you are a symfony user, this is done during initialisation based on a setting in your factories.yml file).
Check it out: http://elephpants.blog.linpro.no/2009/10/02/unwanted-end-of-sessions/
Comments(3)
No no..
Its not regardless what you have in php.ini. It does respect php.ini, just nothing else
Setting this option in httpd.conf, .htaccess, or in PHP script doesn’t work on Debian based systems
ok, fixed
Of course symfony always sets this value in php based on the setting in factories.yml and therein lies the problem!
Good enough release just about this good post! In fact, that is worth to buy essay to receive an academic success!