
June 2nd, 2000, 05:11 AM
|
|
Junior Member
|
|
Join Date: Jun 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
My session seems to not work, i have copied
the following code :
<?
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] ";
?>
with html classic header and footer. But the
counter doesnt change. I can see the /tmp/session but it seems that there is
no value just a :
!count|!SESSION| something like that. Anyone
can help me about that ?
thanks a lot ...
|