diff --git a/reference/session/reference.xml b/reference/session/reference.xml index 323be30ac1..5cff6f98b5 100644 --- a/reference/session/reference.xml +++ b/reference/session/reference.xml @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -118,7 +118,7 @@ &reftitle.examples; - As of PHP 4.1.0, $_SESSION is available as + As of PHP 4.1.0, $_SESSION is available as a global variable just like $_POST, $_GET, $_REQUEST and so on. Unlike $HTTP_SESSION_VARS, @@ -129,7 +129,9 @@ documentation has been changed to use $_SESSION everywhere. You can substitute $HTTP_SESSION_VARS for - $_SESSION, if you prefer the former. + $_SESSION, if you prefer the former. Also note + that you must start your session using session_start + before use of $_SESSION becomes available. The keys in the $_SESSION associative