From dbd8a08969544b6c7350ffb0dc9832dd6d6a841e Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sat, 18 Jan 2003 05:38:52 +0000 Subject: [PATCH] Mention that $_SESSION does not implicitly call session_start() like session_register() does. This deals with bug #19068 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112344 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/session/functions/session-register.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/session/functions/session-register.xml b/reference/session/functions/session-register.xml index 2780239210..5ba87c87e5 100644 --- a/reference/session/functions/session-register.xml +++ b/reference/session/functions/session-register.xml @@ -1,5 +1,5 @@ - + @@ -56,7 +56,8 @@ If session_start was not called before this function is called, an implicit call to session_start with no - parameters will be made. + parameters will be made. $_SESSION does not mimick + this behavior and requires session_start before use. You can also create a session variable by simply setting the