I am trying to execute the following code. It all works fine if the code is
executed second time onwards. When the code is executed for the first time
(a new session is created) the value of PHPSESSID is not assigned. Could
this be because session.auto_start is assigned a value of 0 ? What could be
a workaround for this ??


session_register ("count");

Hello visitor, you have seen this page <?php echo $count; ?> times.<p>

# the <?=SID?> is necessary to preserve the session id
# in the case that the user has disabled cookies

To continue, <A HREF="nextpage.php?<?=$PHPSESSID?>">click here</A>

PHP Database 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