Session getting destroyed in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dontstop
Forum Newbie
Posts: 1
Joined: Mon Mar 30, 2009 12:39 pm

Session getting destroyed in PHP

Post by dontstop »

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
Post Reply