Jump to content


Photo

Setting $SESSION timeout length


  • Please log in to reply
1 reply to this topic

#1 zebe

zebe
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 04 June 2006 - 05:46 PM

Hi,

I am writing an application that has a login component. Basically I want to set the sessions to last for longer than 2 hours of inactivity. There are some forms that take users 2 hours+ to fillout, when they go to submit them, they get thrown back to the login because their session has expired. I think I need to change this setting in php.ini, but I have never done it before. I was hoping someone could share a definitive routine on how to do this before I give it an attempt. Thanks for all of your help!

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 05 June 2006 - 12:18 AM

Setting a session for over 2 hours is rediculous. May I suggest using cookies instead of sessions to keep track of users.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users