just installed php win 32 installer, did nothing with the php.ini (globals == off)
anyway, i've been having problem passing the session id to the url,
i tried the sample on the docs manual,
Code: Select all
<?php
if (!session_is_registered('count')) {
session_register('count');
$count = 1;
}
else {
$count++;
}
?>
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
To continue, <A HREF="nextpage.php?<?php echo strip_tags (SID)?>">click here</A>where is the session id?
also, did i get it right? i just need to use session_register("vars") on the login page, no need to use it on the other page because you just need to use session_start() and all registered vars will be retrieved and made available.
many thanks.