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? 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. Link to comment https://forums.phpfreaks.com/topic/280069-session-length/#findComment-1440324 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.