Hi,
I'm trying to use $_SESSION on Windows2000+PHP4.1.2 binary version.
But it seems that $_SESSION doesn't work, even in the simplest samples
like;
--------------------------------------------------
<?php
session_start();
if (!isset($_SESSION['count'])) {
$_SESSION['count'] = 0;
}
else {
$_SESSION['count']++;
}
print session_name()."=".session_id()."<br>".$_SESSION['count'];
?>
<a href='<?=$PHP_SELF ?>'>!</a>
---------------------------------------------------
session_id is set properly in this case.
Moreover, the old way of using session works, i.e. session_register(...)
and so on.
Does anyone know about this trouble?
Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php