nathan1 Posted February 3, 2008 Share Posted February 3, 2008 Hi guys i have a php site that im using sessions, in the header under the connection to the db script i have a session start....but the session seams to expire too soon, is there a way to keep the session going longer? Thanks Link to comment https://forums.phpfreaks.com/topic/89123-solved-session/ Share on other sites More sharing options...
p2grace Posted February 3, 2008 Share Posted February 3, 2008 You can update the expiration time in the php.ini file. Link to comment https://forums.phpfreaks.com/topic/89123-solved-session/#findComment-456436 Share on other sites More sharing options...
nathan1 Posted February 3, 2008 Author Share Posted February 3, 2008 Thanks, but i found out how to do it in php, problem solved..thanks session_cache_expire(30); $cache_expire = session_cache_expire(); session_start(); Link to comment https://forums.phpfreaks.com/topic/89123-solved-session/#findComment-456439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.