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

Link to comment
Share on other sites

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.

Link to comment
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.