Re: PHP 4.0 Bug #8772: user level session storage fails when register_globals off
| From: | Sascha Schumann | Date: | Thu, 18 Jan 2001 07:15:16 +0000 |
| Subject: | Re: PHP 4.0 Bug #8772: user level session storage fails when register_globals off | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44446@lists.php.net to get a copy of this message | ||
On 18 Jan 2001 serge@freezefotoz.com wrote:
> From: serge@freezefotoz.com
> Operating system: RH Linux 7.0
> PHP version: 4.0.4pl1
> PHP Bug Type: *Session related
> Bug description: user level session storage fails when register_globals off
>
> When using a user level session storage method to db for example, if register_globals is off, a
> session record is added to the database, but it contains no serialized data. The data portion is
> empty.
>
> If I turn register_globals on, the the database record for
> the session contains the serialized data.
And did you assign your data to $HTTP_SESSION_VARS["foo"]
instead of $foo?
The user level storage module gets exactly the same set of
data as the other modules. In fact, there is no distinction
in the session module as to how the data is stored.
- Sascha