Re: Sessions don't work?
| From: | Lord Loh. | Date: | Thu, 25 Jul 2002 08:37:59 +0000 |
| Subject: | Re: Sessions don't work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109429@lists.php.net to get a copy of this message | ||
From the PHP docs...
=============================
<?php
session_register ("count");
$count++;
?>
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>;
<?php
# the <?=SID?> is necessary to preserve the session id
# in the case that the user has disabled cookies
?>
To continue, <A HREF="nextpage.php?<?=SID?>">click here</A>