Posted by Mike on 10/12/94 11:38
I see. So to pass the ID to the next page I now need to add PHPSESSID=
in to the script as follows...
<?php
session_start();
$_SESSION[auth] = "Test message";
?>
<a href="page2.php?PHPSESSID=<?php echo
$_COOKIE[ini_get("session.name")]; ?>">Page2</a>
Is that correct??
So why did my original script line..
<a href="page2.php?<?php echo SID; ?>">Page2</a>
not produce the ID string?
Many Thanks
Mike
Navigation:
[Reply to this message]
|