Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/193783-session-questions/
Share on other sites

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?

Link to comment
https://forums.phpfreaks.com/topic/193783-session-questions/#findComment-1019930
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.