I'm looking to remove the timeout on php sessions on my site. the result of:
var_dump(ini_get('session.save_path')); var_dump(ini_get('session.gc_maxlifetime')); var_dump(ini_get('session.cookie_lifetime'));
Is string(13) "/var/lib/php5" string(4) "1440" string(1) "0"
According to the forums I've seen, with session.cookie_lifetime set to 0 timeout should already be unlimited shouldn't it?
So two questions: Which values do I need to set to remove session timeout? And also... I understand I need to put code into .htaccess but where does the .htaccess need to be to take effect on php sessions?