Re: SESSION problem

From: Date: Fri, 15 Aug 2008 17:50:35 +0000
Subject: Re: SESSION problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-278166@lists.php.net to get a copy of this message
On Aug 15, 2008, at 12:16 PM, Dan Joseph wrote:
On Fri, Aug 15, 2008 at 1:09 PM, tedd <tedd@sperling.com> wrote:
Hi gang: Arrggg -- what the heck is going on? I can't get anything to pass via SESSION -- what's wrong? Here's the example -- (all the code is there): I populate the $_SESSIONs here. http://www.webbytedd.com/b2/session-test/index.php If you click "Proceed to Step 2", you'll see that nothing is passed. Now, where did I go wrong? Cheers, tedd PS: I've tried this on two different servers and get the same results.
What's in your header.php?
It probably won't make a difference, but you may try: <?php for ($i = 1; $i <= 10; $i++) {
    echo("$i = {$_SESSION[$i]} <br/>");
} ?> Throw the $_SESSION into {}. ~Philip

« previous php.general (#278166) next »