reference/session/functions/session-start.xml
151e61773c016edcae8fd4989ad9a86ffd03c283
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-start">
3
+
<refentry xml:id="function.session-start" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>session_start</refname>
6
6
<refpurpose>Start new or resume existing session</refpurpose>
...
...
@@ -89,25 +89,11 @@
89
89
</thead>
90
90
<tbody>
91
91
<row>
92
-
<entry>7.0.0</entry>
92
+
<entry>7.1.0</entry>
93
93
<entry>
94
-
The <parameter>options</parameter> parameter was added.
95
-
</entry>
96
-
</row>
97
-
<row>
98
-
<entry>5.3.0</entry>
99
-
<entry>
100
-
If a session fails to start, then &false; is returned.
101
-
Previously &true; was returned.
102
-
</entry>
103
-
</row>
104
-
<row>
105
-
<entry>4.3.3</entry>
106
-
<entry>
107
-
As of PHP 4.3.3, calling <function>session_start</function>
108
-
after the session was previously started will result in an
109
-
error of level <constant>E_NOTICE</constant>. Also, the
110
-
second session start will simply be ignored.
94
+
<function>session_start</function> now returns &false; and no longer
95
+
initializes <varname>$_SESSION</varname> when it failed to start the
96
+
session.
111
97
</entry>
112
98
</row>
113
99
</tbody>
...
...
@@ -219,7 +205,7 @@ session_start([
219
205
<note>
220
206
<para>
221
207
To use cookie-based sessions, <function>session_start</function>
222
-
must be called before outputing anything to the browser.
208
+
must be called before outputting anything to the browser.
223
209
</para>
224
210
</note>
225
211
<note>
...
...
@@ -252,7 +238,6 @@ session_start([
252
238
</refsect1>
253
239

254
240
</refentry>
255
-

256
241
<!-- Keep this comment at the end of the file
257
242
Local variables:
258
243
mode: sgml
259
244