Skip to content

Commit 153e180

Browse files
committed
[#2198] Fixing some syntax errors, long lines
1 parent cf74914 commit 153e180

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

reference/configuration/framework.rst

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,11 @@ cookie_domain
172172
.. versionadded:: 2.1
173173
This option was formerly know as ``domain``
174174

175-
**type**: ``string`` **default**: ````
175+
**type**: ``string`` **default**: ``''``
176176

177-
This determines the domain to set in the session cookie. By default it's blank meaning the
178-
host name of the server which generated the cookie according to the cookie specification.
177+
This determines the domain to set in the session cookie. By default it's blank,
178+
meaning the host name of the server which generated the cookie according
179+
to the cookie specification.
179180

180181
cookie_secure
181182
.............
@@ -195,9 +196,10 @@ cookie_httponly
195196

196197
**type**: ``Boolean`` **default**: ``false``
197198

198-
This determines whether cookies should only accesible through the HTTP protocol. This means
199-
that the cookie won't be accesible by scripting languages, such as Javascript. This setting
200-
can effectively help to reduce identity theft through XSS attacks.
199+
This determines whether cookies should only accesible through the HTTP protocol.
200+
This means that the cookie won't be accesible by scripting languages, such
201+
as JavaScript. This setting can effectively help to reduce identity theft
202+
through XSS attacks.
201203

202204
gc_probability
203205
..............
@@ -207,19 +209,20 @@ gc_probability
207209

208210
**type**: ``integer`` **default**: ``1``
209211

210-
This defines the probability that the garbage collector (GC) process is started on every session
211-
initialization. The probability is calculated by using ``gc_probability`` / ``gc_divisor``,
212-
e.g. 1/100 means there is a 1% chance that the GC process start on each request.
212+
This defines the probability that the garbage collector (GC) process is started
213+
on every session initialization. The probability is calculated by using
214+
``gc_probability`` / ``gc_divisor``, e.g. 1/100 means there is a 1% chance
215+
that the GC process will start on each request.
213216

214217
gc_divisor
215218
..........
216219

217220
.. versionadded:: 2.1
218221
The ``gc_divisor`` option is new in version 2.1
219222

220-
**type**: ``integer`` **default**: ``1``
223+
**type**: ``integer`` **default**: ``100``
221224

222-
See ``gc_probability``_.
225+
See `gc_probability`_.
223226

224227
gc_maxlifetime
225228
..............
@@ -229,16 +232,17 @@ gc_maxlifetime
229232

230233
**type**: ``integer`` **default**: ``14400``
231234

232-
This determines the number of seconds after whih data will be seen as `garbage` and potentially cleaned up.
233-
Garbage collection may occur during session start and depends on ``gc_divisor``_ and ``gc_probability``_.
235+
This determines the number of seconds after which data will be seen as "garbage"
236+
and potentially cleaned up. Garbage collection may occur during session start
237+
and depends on `gc_divisor`_ and `gc_probability`_.
234238

235239
save_path
236-
..............
240+
.........
237241

238242
**type**: ``string`` **default**: ``%kernel.cache.dir%/sessions``
239243

240-
This determines the argument to be passed to the save handler. If you choose the default files handler,
241-
this is the path where the files are created.
244+
This determines the argument to be passed to the save handler. If you choose
245+
the default file handler, this is the path where the files are created.
242246

243247
templating
244248
~~~~~~~~~~

0 commit comments

Comments
 (0)