After redoing my entire site because of session let me give ya some help.
$_SESSION["test_var"] = "froggy";
then on page two
a few tips I have run into
SESSION needs to be all caps, otherwise php gets cranky. I am fairly sure
in forms you need POST and GET capitalized.
session_start() on EVERY page also.
if you need more help let me know
"Alexander Ross" <[EMAIL PROTECTED]>
07/10/2002 09:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] sessions
I'm trying to understand sessions so I can set session variables. I set up
very simple pages:
$test_var = "froggy";
<a href="page2.php">Click here</a>
This doesn't seem to work though. $test_var doesn't seem to have a value
when I go the second page. What am I missing. Thanks for helping a
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php