Jump to content

[SOLVED] Session problem on Windows machine


Sulman

Recommended Posts

Hi All,

 

I am haing a problem with sessions. I have moved my project over to a new PHP install on a Windows Server machine. I am now losing all session variables between pages (works fine on other machines.).

 

What do you think this could be? Looking in the new .ini file reveals: "Windows users have to change this variable in order to use PHP's session functions".

 

What variable do they mean and what should it be changed to?

 

Thanks

In the php.ini, what is the session save path set to?

 

Look at all the [session] related keys.

 

Well, this was one of the things I looked at but I'm not sure what it should be set to? Also do I just create a directory, or does something need to be in it too? Also what permissions should I grant on the directory?

 

Thanks for the replies.

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.