Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4798 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12296 invoked by uid 1010); 11 Oct 2003 08:35:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12259 invoked from network); 11 Oct 2003 08:35:17 -0000 Received: from unknown (HELO milton.schell.de) (217.160.72.35) by pb1.pair.com with SMTP; 11 Oct 2003 08:35:17 -0000 Received: (qmail 9221 invoked by uid 501); 11 Oct 2003 08:35:16 -0000 Received: from unknown (HELO eco.foo) (80.143.63.7) by kdserv.de with SMTP; 11 Oct 2003 08:35:16 -0000 Received: from localhost (localhost [127.0.0.1]) by eco.foo (Postfix) with ESMTP id EBDC0E3C; Sat, 11 Oct 2003 10:35:15 +0200 (CEST) Date: Sat, 11 Oct 2003 10:35:15 +0200 (CEST) X-X-Sender: sas@eco.foo To: Jeremy Johnstone Cc: internals@lists.php.net In-Reply-To: <1065842818.3599.23.camel@localhost> Message-ID: References: <1065842818.3599.23.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] $_SESSION questions From: sascha@schumann.cx (Sascha Schumann) 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