Skip to content

Commit 58cf369

Browse files
tyomo4kaweaverryan
authored andcommitted
Fixed doc for framework.session.cookie_lifetime refrence.
1 parent 8155e4c commit 58cf369

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

reference/configuration/framework.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,12 @@ name which is defined in the ``php.ini`` with the ``session.name`` directive.
169169
cookie_lifetime
170170
...............
171171

172-
**type**: ``integer`` **default**: ``0``
172+
**type**: ``integer`` **default**: ``null``
173173

174-
This determines the lifetime of the session - in seconds. By default it will use
175-
``0``, which means the cookie is valid for the length of the browser session.
174+
This determines the lifetime of the session - in seconds. It will use ``null`` by
175+
default, which means ``session.cookie_lifetime`` value from ``php.ini`` will be used.
176+
Setting this value to ``0`` means the cookie is valid for the length of the browser
177+
session.
176178

177179
cookie_path
178180
...........

0 commit comments

Comments
 (0)