aeroswat Posted March 1, 2010 Share Posted March 1, 2010 I ran phpinfo() on the shared host I am using. session.save_path is set to /tmp on Local and /tmp on Master Does this mean it's /tmp on my domain or /tmp for everyone on the server? Basically I am trying to change my session timeout which I have heard you can do by changing session.gc_maxlifetime and I have seen that it could make things funky if there your session information isn't going to your own directory. Any advice on the matter would be great. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/193783-session-questions/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 1, 2010 Share Posted March 1, 2010 /tmp would refer to the root of the current hard disk and is not specific to your domain. Quote Link to comment https://forums.phpfreaks.com/topic/193783-session-questions/#findComment-1019915 Share on other sites More sharing options...
aeroswat Posted March 1, 2010 Author Share Posted March 1, 2010 /tmp would refer to the root of the current hard disk and is not specific to your domain. So really I have no way of creating longer sessions than what the default of 1440 is on the server? Quote Link to comment https://forums.phpfreaks.com/topic/193783-session-questions/#findComment-1019920 Share on other sites More sharing options...
PFMaBiSmAd Posted March 1, 2010 Share Posted March 1, 2010 The session.save_path setting in affect at the time that your session_start() statements are executed is where the session data files are stored or retrieved from. Just set session.save_path to a folder of your choice. Quote Link to comment https://forums.phpfreaks.com/topic/193783-session-questions/#findComment-1019925 Share on other sites More sharing options...
aeroswat Posted March 1, 2010 Author Share Posted March 1, 2010 The session.save_path setting in affect at the time that your session_start() statements are executed is where the session data files are stored or retrieved from. Just set session.save_path to a folder of your choice. Would the master column refer to the server and the local column refer to only me? Also in order to set it to a folder on my domain what would I have to put before the /tmp? Quote Link to comment https://forums.phpfreaks.com/topic/193783-session-questions/#findComment-1019930 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.