Re: $_SESSION questions
| From: | Sascha Schumann | Date: | Sat, 11 Oct 2003 08:35:15 +0000 |
| Subject: | Re: $_SESSION questions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4798@lists.php.net to get a copy of this message | ||
On Sat, 10 Oct 2003, Jeremy Johnstone wrote:
> I have recently found that if I don't register a session using PHP's
> session management code I can use the $_SESSION variable as "my own"
> superglobal which I can use for whatever purpose I deam fit. Here is a
> small code snippet to illustrate:
Such use is not officially supported. You are specifically
relying on a feature the session module is enabling for you
(registration of automatic global).
- Sascha