Jump to content

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!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.