Re: Re: Help with a trivial session example.
| From: | Michael Davey | Date: | Thu, 30 May 2002 23:37:09 +0000 |
| Subject: | Re: Re: Help with a trivial session example. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100021@lists.php.net to get a copy of this message | ||
Hmm...
I can't say that I have moved over to the new superglobals yet - I prefer
register_globals cos I am lazy ;)
But it does seem that there are two possible variables that you need to
use - the one in your script ($HTTP_SESSION_VARS), but this is only for
4.0.6 or less, it is $_SESSION otherwise - what version do you have
installed?
regards,
Mikey
"Daevid Vincent" <daevid@daevid.com> wrote in message
news:003d01c20830$3d814690$45193e04@telecom...
> Okay, now I'm completely confused...
>
> I made a very simple test page, and even that doesn't work:
>
> http://daevid.com/examples/index.phtml
>
> Notice how I have the right session_id, but the variable didn't pass
> onto the second page.
>
> Can someone please explain to me what I am doing wrong?
>
> Do I not have PHP.ini configured properly or something?
>
> D.
>