Session help please?
| From: | Paul | Date: | Fri, 02 Apr 2004 02:58:40 +0000 |
| Subject: | Session help please? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182083@lists.php.net to get a copy of this message | ||
Probably a stupid question.
I figured I could do something like $_SESSION['test'] = 5 and refer to $test
on other pages however I cannot. The reason I thought I could do this is
because I can do $_SESSION['test'] = $_POST['test'] and be able to refer to
just $test on other pages.
Is the correct way to do this to make sure that I have somewhere
session_register['test']
Thanks!