Increase php session time via .htaccess not working
Posted
by
Ken
on Server Fault
See other posts from Server Fault
or by Ken
Published on 2011-03-10T19:26:09Z
Indexed on
2011/03/11
0:12 UTC
Read the original article
Hit count: 593
I want to create the session timeout to 6 hours but my browser is still timing out in 1/2 hour.
I am on a PLESK server.
I updated .htaccess
php_value session.gc_maxlifetime 21600
php_value session.cache_expire 21600
php_value session.cookie_lifetime 21600
Here is the relevant PHPinfo:
Local Master
session.gc_maxlifetime 21600 1440
session.cache_expire 21600 180
session.gc_maxlifetime 21600 1440
© Server Fault or respective owner