PFMaBiSmAd Posted July 29, 2009 Share Posted July 29, 2009 session.gc_divisor => 1000 => 1000 and session.gc_divisor are both set to 1 No they are not. Quote Link to comment https://forums.phpfreaks.com/topic/167829-should-a-session-expire-itself-after-a-certain-time/page/2/#findComment-885976 Share on other sites More sharing options...
cleibesouza Posted July 29, 2009 Author Share Posted July 29, 2009 session.gc_divisor => 1000 => 1000 and session.gc_divisor are both set to 1 No they are not. No they are not? Sorry but I don't know what you mean. Quote Link to comment https://forums.phpfreaks.com/topic/167829-should-a-session-expire-itself-after-a-certain-time/page/2/#findComment-885984 Share on other sites More sharing options...
PFMaBiSmAd Posted July 29, 2009 Share Posted July 29, 2009 One of the conditions for getting the garbage collection to operate on each session_start() is that both session.gc_probability and session.gc_divisor must be set to one. You stated your server administrator said they were both set to one. You posted information that indicates that session.gc_divisor is not set to one. So, no they are not both set to 1. Therefore, the condition necessary to get garbage collection to operate on each session_start() statement has not been met. Quote Link to comment https://forums.phpfreaks.com/topic/167829-should-a-session-expire-itself-after-a-certain-time/page/2/#findComment-885989 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.