Re: [Session]
| From: | Evan | Date: | Tue, 26 Mar 2002 19:42:40 +0000 |
| Subject: | Re: [Session] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90258@lists.php.net to get a copy of this message | ||
I have PHP 4.1.2 (the latest, I downloaded it a week ago).
The manual says that:
*********************
If track_vars is enabled and register_globals is disabled, only members of
the global associative array $HTTP_SESSION_VARS can be registered as session
variables. The restored session variables will only be available in the
array $HTTP_SESSION_VARS.
*********************
I won't use $_SESSION cause it seems that is a bit buggy.... have a search
with google->user group "$_SESSION".
Anyway thanks for your interest,
Evan
"Erik Price" <pricee@hhbrown.com> ha scritto nel messaggio
news:C86954CC-40F0-11D6-BCB8-0050E4857868@hhbrown.com...
>
> On Tuesday, March 26, 2002, at 02:14 PM, Evan wrote:
>
> > Hi !!
> > I can't make this work:
> > PAGE 1:
> > <?
> > $HTTP_SESSION_VARS["v_s"]=500;
> > ?>
> >
>
> I am probably wrong about this, but I thought that you could register
> session variables using this technique only if you are using PHP 4.1.x
> and you use the format:
>
> $_SESSION['v_s'] = 500;
>
>
>
>
>
> Erik
>
>
>
>
> ----
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> pricee@hhbrown.com
>