Hello All,
I would like to do that the session will expire after X minutes, and the page at the client will expire after Y minutes. How can I do that?
I understand that session_cache_limiter() function determines who can cache the page: - pulic: proxies and clients. - private: clients. - nocache: no-one. But session_cache_expire() function sets expire on what? the session timeout or the page cache timeout?
session_cache_expire() function sets expire on the client side. Session lifetime on the server is set by session.gc_maxlifetime setting, you can use ini_set() to change it. But you have to use your own directory to store session files, use ini_set('session.save_path', '/your/session/dir');
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php