I'd just like to chime in that I'm experiencing the same issue with:
- Windows Server 2003
- IIS6
- MySQL 5.0.45
- PHP 5.2.4
- fastCGI (I also tried regular CGI)
- Zen Cart 1.3.7
PHP sessions and cookies seem to be working fine with the following test script:
PHP Code:
// Session test
session_start();
$_SESSION['test'] = "Session ID:";
echo $_SESSION['test'] . ":" . session_id();
// Cookie test
if (isset($_COOKIE["user"])) {
echo "Welcome " . $_COOKIE["user"] . "!<br />";
setcookie("user", "", time()-3600);
} else {
setcookie("user", "Jim Brown", time()+3600);
}
I have no problem with digging into the code a bit where zen grabs its zen ID to try to get this fixed if someone could point me in the right direction.
Linux and Apache are my platforms of choice. However, this organization uses Windows on its servers, so I'd like to get this running if possible.
Bookmarks