Wierd session problem.
| From: | Trio | Date: | Wed, 05 Jul 2000 14:39:26 +0000 |
| Subject: | Wierd session problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4954@lists.php.net to get a copy of this message | ||
Code:
<?php
session_register("count");
$count++;
?>
Hello visitor, you have seen this page <? echo $count; ?> times.<p>
To continue, <A HREF="nextpage.php?<?=SID?>">click here</A>
---------------------------
is printing:
Hello visitor, you have seen this page 51 times.<p>
To continue, <A HREF="nextpage.php?">click here</A>
Why it doesn't print session id in link get variable?
Best Regards,
Matti Simperi