0

Online system is unable to maintain a session. We've set it for 3 to 5 hours but it is logging member out after 35 to 45 minutes.What could be the reason behind?

2
  • are you using cookies for session id? Commented Mar 22, 2012 at 5:52
  • By what mechanism have you set it? If using cookies, what value do you see for session.gc_maxlifetime when you run phpinfo()? Commented Mar 22, 2012 at 5:59

1 Answer 1

1

It's because the cookie is timed out. There could be many reasons. But if it's due to incorrect server clock, it's tough to figure out.

Update your time

 ntpdate pool.ntp.org
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.