ScrewLooseSalad Posted July 11, 2013 Share Posted July 11, 2013 I need to increase the session length for my app, it keeps timing out on the people using it.. just changing the default in my php settings would be great but I haven't found anything that's worked for me on-line, is anyone able to help? Quote Link to comment https://forums.phpfreaks.com/topic/280069-session-length/ Share on other sites More sharing options...
mac_gyver Posted July 11, 2013 Share Posted July 11, 2013 if you mean you are increasing the session.gc_maxlifetime setting, you must do that before every session_start() statement and if you are on shared web hosting and using the default tmp location for the session.save_path setting, you must set your session.save_path setting to point to your own folder so that your session data files won't be affected by the session.gc_maxlifetime setting of any of the other accounts using the tmp folder. Quote Link to comment https://forums.phpfreaks.com/topic/280069-session-length/#findComment-1440324 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.