reference/session/functions/session-create-id.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-create-id">
3
+
<refentry xml:id="function.session-create-id" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>session_create_id</refname>
6
6
<refpurpose>Create new session id</refpurpose>
...
...
@@ -8,8 +8,8 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>string</type><methodname>session_create_id</methodname>
12
-
<methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam>
11
+
<type class="union"><type>string</type><type>false</type></type><methodname>session_create_id</methodname>
12
+
<methodparam choice="opt"><type>string</type><parameter>prefix</parameter><initializer>""</initializer></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
<function>session_create_id</function> is used to create new
...
...
@@ -55,6 +55,7 @@
55
55
<function>session_create_id</function> returns new collision free
56
56
session id for the current session. If it is used without active
57
57
session, it omits collision check.
58
+
On failure, &false; is returned.
58
59
</para>
59
60
</refsect1>
60
61

...
...
@@ -129,8 +130,6 @@ my_session_regenerate_id();
129
130
</para>
130
131
</refsect1>
131
132
</refentry>
132
-

133
-

134
133
<!-- Keep this comment at the end of the file
135
134
Local variables:
136
135
mode: sgml
137
136