Hi,

I just figured out that my session-management is
not working. I have a small, simple script to test
this:

<?
session_start();
session_register("SESSION");

if (! isset($SESSION)) {
    $SESSION["count"] = 0;
    echo "<li>Counter initialized, please reload this page to see it
increment";
} else {
    echo "<li>Waking up session $PHPSESSID";
    $SESSION["count"]++;
}
echo "<li>The counter is now $SESSION[count] ";
?>

But the counter stays at "0". And in the specified session.save_path
directory I have a new file every time I reload the page.

What is wrong??

TIA
johannes



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to