10000 [#3017] Very minor tweaks · symfony/symfony-docs@bdd37ba · GitHub
[go: up one dir, main page]

Skip to content

Commit bdd37ba

Browse files
committed
[#3017] Very minor tweaks
1 parent 22a270e commit bdd37ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbook/session/limit_metadata_writes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.. index::
22
single: Limit Metadata Writes; Session
33

4-
Limit session metadata writes
4+
Limit Session Metadata Writes
55
=============================
66

77
.. versionadded:: 2.4
88
The ability to limit session metadata writes was added in Symfony 2.4.
99

10-
The default behaviour of PHP session is to persist the session regardless of
10+
The default behavior of PHP session is to persist the session regardless of
1111
whether the session data has changed or not. In Symfony, each time the session
12-
is accessed metadata is recorded (session created/last used) which can be used
12+
is accessed, metadata is recorded (session created/last used) which can be used
1313
to determine session age and idle time.
1414

1515
If for performance reasons you wish to limit the frequency at which the session
@@ -53,12 +53,12 @@ than zero:
5353
),
5454
));
5555
56-
.. info::
56+
.. note::
5757

5858
PHP default's behavior is to save the session whether it has been changed or
5959
not. When using ``framework.session.metadata_update_threshold`` Symfony
6060
will wrap the session handler (configured at
61-
``framework.session.handler_id``) into the WriteCheckSessionHandler, that
61+
``framework.session.handler_id``) into the WriteCheckSessionHandler. This
6262
will prevent any session write if the session was not modified.
6363

6464
.. caution::

0 commit comments

Comments
 (0)
0