In php as sessions are useful for holding data temporarily. But mine are exhaling really fast (in less than 15 minutes) and I still can not figure out why. My session.cache_expire , according to phpinfo () is set to 240.
Thank you in advance.
In php as sessions are useful for holding data temporarily. But mine are exhaling really fast (in less than 15 minutes) and I still can not figure out why. My session.cache_expire , according to phpinfo () is set to 240.
Thank you in advance.
You have to change the parameter session.cookie_lifetime
more information in the PHP site
Update:
You also try to increase% ex by%.
ini_set('session.gc_maxlifetime', 3600);
session_set_cookie_params(3600);
session_start();