Jump to content

Sessions problems with PHP 5.2.6 on Win2003Svr IIS6


skiluvia

Recommended Posts

Installed/upgraded to PHP 5.2.6 on Windows 2003 Server (IIS6). All necessary required settings have been set in php.ini file. However, my sessions do not get transfered on the next page even with sessions_start() being called on each page. I have enabled all errors and no any warnings or errors. I suspect that this might be a bug in PHP 5.2.6 or something else tricky with PHP5 to get sessions working. By the way, I can see sessions files get created in directory. Anyone out there with solution? Please help!

Link to comment
Share on other sites

Have you verified the problem with a short script like this?

 

session_start();
print "Session foo is "; var_dump($_SESSION['foo']);
$_SESSION['foo'] = 1;

 

My first guess would be that register_globals is not set in the new php.ini

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.