Session getting destroyed in PHP
Posted: Mon Mar 30, 2009 12:51 pm
Hi,
I have used simple session_$ method to implement session management in my site. Problem is it is behaving very erratically. Sometimes it works fine but many times it just logs me out from one page transition to another. I have reviewed all the code but don not see any such inconsistency in session variables.
I have checked server timeout time and it is 1440 seconds, session.gc_probability = 1 and session.gc_divisor =100.
Would be great help if you point in my the right direction here.
Thanks in advance
AJ
I have used simple session_$ method to implement session management in my site. Problem is it is behaving very erratically. Sometimes it works fine but many times it just logs me out from one page transition to another. I have reviewed all the code but don not see any such inconsistency in session variables.
I have checked server timeout time and it is 1440 seconds, session.gc_probability = 1 and session.gc_divisor =100.
Would be great help if you point in my the right direction here.
Thanks in advance
AJ