sugan Posted October 5, 2007 Share Posted October 5, 2007 HiI have used following code to make session expire after 30 minutes session_cache_limiter('private');$cache_limiter = session_cache_limiter();session_cache_expire(30);$cache_expire = session_cache_expire();@session_start(); Here session is expired before 30 minutes when I visit any other link. Please help me to solve this issue.Regards,Sugan Link to comment Share on other sites More sharing options...
justsomeguy Posted October 5, 2007 Share Posted October 5, 2007 The cache limiter and cache expire settings deal with cached session pages on the user's browser, not the lifetime of the session. You can use the session.gc_maxlifetime option to change how long the session stays on the server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.