Skip to content

Commit d7a77b5

Browse files
mmalferovkamil-tekielacmb69
authored
session-name.xml: use the correct directive name and add the link to (GH-3642)
There is no directive `session.transid` in PHP. It's probably about the `session.use_trans_sid` directive instead `session.transid`, if I got the context right Co-authored-by: Kamil Tekiela <[email protected]> Co-authored-by: Christoph M. Becker <[email protected]>
1 parent b7dbf63 commit d7a77b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/session/functions/session-name.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<para>
2222
If a new session <parameter>name</parameter> is
2323
supplied, <function>session_name</function> modifies the HTTP cookie
24-
(and output content when <literal>session.transid</literal> is
25-
enabled). Once the HTTP cookie is
26-
sent, <function>session_name</function> raises error.
24+
(and outputs the content when <link linkend="ini.session.use-trans-sid">session.use_trans_sid</link> is
25+
enabled). Once the HTTP cookie has been
26+
sent, calling <function>session_name</function> raises an <constant>E_WARNING</constant>.
2727
<function>session_name</function> must be called
2828
before <function>session_start</function> for the session to work
2929
properly.

0 commit comments

Comments
 (0)