Jump to content

Session questions


aeroswat

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.