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 Quote Link to comment 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. Quote Link to comment 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(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.