Hi,
I tried the following code with PHP 4.1.2 on Win2k/IIS5:
session_save_path("./sessions");
session_start();
$_SESSION['testval'] = 2;
echo session_id();
print_r($_SESSION);
This should save the value of 'testval' to the session file ./sessions/sess_xyz
What I observed is: The session file was created, but no variables saved to it (0 bytes!).
The session id was created correctly and $_SESSION contains the right entry ([testval] => 2).
This is not a file permission problem, as it works when I'm using global vars and session_register().
Any idea what I could have missed?
Robert