Session Variables
| From: | Richard Duval | Date: | Tue, 08 Mar 2005 00:04:33 +0000 |
| Subject: | Session Variables | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25718@lists.php.net to get a copy of this message | ||
Newbie question, sorry but I've searched everywhere and can't seem to find the answer...
Session variables...should be able to define in one page, call the next page and have it available
there as well right?
I can print out the session varialble in the page it was created, no problem Then I call the next
page, try to echo the variable and I get:
Notice: Undefined variable: HTTP_SESSION_VARS in C:\vhome\nl4x4\admin\sendmail\prep_mail.php on line
17
Is there something else I have to do to get these variables carried to the next page?
The code I'm using is simply: <p><?php echo
$HTTP_SESSION_VARS['count_ind_members']; ?></p>
Thanks
"Imagination is more important than Knowledge" --Albert Einstein--