zebe Posted June 4, 2006 Share Posted June 4, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/11174-setting-session-timeout-length/ Share on other sites More sharing options...
trq Posted June 5, 2006 Share Posted June 5, 2006 Setting a session for over 2 hours is rediculous. May I suggest using cookies instead of sessions to keep track of users. Quote Link to comment https://forums.phpfreaks.com/topic/11174-setting-session-timeout-length/#findComment-41903 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.