Skip to content

Commit 41fd4a7

Browse files
jahllerweaverryan
authored andcommitted
Update components/http_foundation/session_configuration.rst
updated some typos and formatting
1 parent 7e0103b commit 41fd4a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionS
9292
can configure most of the PHP ini configuration directives which are documented
9393
at `php.net/session.configuration`_.
9494

95-
To configure these setting, pass the keys (omitting the initial ``session.`` part
95+
To configure these settings, pass the keys (omitting the initial ``session.`` part
9696
of the key) as a key-value array to the ``$options`` constructor argument.
9797
Or set them via the
9898
:method:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage::setOptions`
@@ -133,7 +133,7 @@ example if these were set to ``5/100`` respectively, it would mean a probability
133133
of 5%. Similarly, ``3/4`` would mean a 3 in 4 chance of being called, i.e. 75%.
134134

135135
If the garbage collection handler is invoked, PHP will pass the value stored in
136-
the PHP ini directive ``session.gc_maxlifetime`. The meaning in this context is
136+
the PHP ini directive ``session.gc_maxlifetime``. The meaning in this context is
137137
that any stored session that was saved more than ``maxlifetime`` ago should be
138138
deleted. This allows one to expire records based on idle time.
139139

@@ -163,7 +163,7 @@ calculated by adding the PHP runtime configuration value in
163163

164164
.. note::
165165

166-
A cookie lifetime of ``0`` means the cookie expire when the browser is closed.
166+
A cookie lifetime of ``0`` means the cookie expires when the browser is closed.
167167

168168
Session Idle Time/Keep Alive
169169
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -254,7 +254,7 @@ will be used to wrap any custom save handlers, that implement :phpclass:`Session
254254
Under PHP 5.4 and above, all session handlers implement :phpclass:`SessionHandlerInterface`
255255
including `Native*SessionHandler` classes which inherit from :phpclass:`SessionHandler`.
256256

257-
The proxy mechanism allow you to get more deeply involved in session save handler
257+
The proxy mechanism allows you to get more deeply involved in session save handler
258258
classes. A proxy for example could be used to encrypt any session transaction
259259
without knowledge of the specific save handler.
260260

0 commit comments

Comments
 (0)