Very simple session question
| From: | John Allsopp | Date: | Mon, 26 May 2008 21:16:53 +0000 |
| Subject: | Very simple session question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-274706@lists.php.net to get a copy of this message | ||
Hi
I've gone bozzeyed, so I've a simple question for you.
I open session_start() as the first thing, on each page.
I set a session variable using, for instance,
$_SESSION['ACCOUNTemail'] = $email;
The next program, when I var_dump($_SESSION), it shows an empty array.
That program does run session_start() too.
What's obviously wrong, or what's my most likely cause?
Cheers
J