Need Help with $_SESSION.
| From: | Scott Fletcher | Date: | Wed, 03 Jul 2002 16:24:14 +0000 |
| Subject: | Need Help with $_SESSION. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105235@lists.php.net to get a copy of this message | ||
Have not been successful in making this work for 2 days now. I'm focusing
on making the $_SESSION to work on each webpages. The 1st page is the
login. The 2nd page represent the rest of the webpages on a secure side
after logging in. I could use some help in making this work. The $_SESSION
does not work on the 2nd page. Since I can't use the register_global(), so
I don't see how someone claim that it can work without it. I will
appreciate it.
--clip-- (Page 1)
odbc_fetch_into($result,$_SESSION,1);
$salt = strtoupper(md5(uniqid(rand())));
session_id($salt);
session_start();
header("Location: https://test.whatever/index.php?".SID);
--clip-- (Page 2)
print_r($_COOKIE);
print_r($_SESSION);
--clip--
Thanks!
FletchSOD