diff --git a/functions/session.xml b/functions/session.xml index cd899411dc..8bfbf225d6 100644 --- a/functions/session.xml +++ b/functions/session.xml @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -357,13 +357,21 @@ To continue, click here session_start creates a session (or resumes the current one based on the session id being passed via a GET - variable or a cookie). + variable or a cookie). + + + If you want to use a named session, you must call + session_name before calling + session_start. + This function always returns &true;. - This function was added in PHP 4.0. + If you are using cookie-based sessions, you must call + session_start before anything is output to the + browser.