Jump to content

Archived

This topic is now archived and is closed to further replies.

zebe

Setting $SESSION timeout length

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Setting a session for over 2 hours is rediculous. May I suggest using cookies instead of sessions to keep track of users.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.