mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
session_start: incorporate notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64244 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0454bf328c
commit
9e35fce1b4
1 changed files with 11 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.59 $ -->
|
||||
<!-- $Revision: 1.60 $ -->
|
||||
<reference id="ref.session">
|
||||
<title>Session handling functions</title>
|
||||
<titleabbrev>Sessions</titleabbrev>
|
||||
|
@ -357,13 +357,21 @@ To continue, <A HREF="nextpage.php?<?=SID?>">click here</A>
|
|||
<simpara>
|
||||
<function>session_start</function> creates a session (or resumes
|
||||
the current one based on the session id being passed via a GET
|
||||
variable or a cookie).</simpara>
|
||||
variable or a cookie).
|
||||
</simpara>
|
||||
<simpara>
|
||||
If you want to use a named session, you must call
|
||||
<function>session_name</function> before calling
|
||||
<function>session_start</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
This function always returns &true;.
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
This function was added in PHP 4.0.
|
||||
If you are using cookie-based sessions, you must call
|
||||
<function>session_start</function> before anything is output to the
|
||||
browser.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
|
Loading…
Reference in a new issue