RE: [PHP-DEV] Sessions, session_register()
| From: | John Coggeshall | Date: | Tue, 17 Dec 2002 09:17:01 +0000 |
| Subject: | RE: [PHP-DEV] Sessions, session_register() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92561@lists.php.net to get a copy of this message | ||
> php_error(E_WARNING, "Your script possibly relies on a
>session side-effect which existed until PHP 4.2.3. Please be
>advised that the session extension does not consider global
>variables as a source of data, unless register_globals is
>enabled. You can disable this functionality and this warning
>by setting session.bug_compat_42 or session.bug_compat_warn.");
I saw this when I was digging through the source -- but that doesn't
really answer my question... Which is the side effect of which? Are
users supposed to use $_SESSION, or the functions? Or should both be
able to be used interchangeably?
John
>Andrey
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>