@@ -172,10 +172,11 @@ cookie_domain
172
172
.. versionadded :: 2.1
173
173
This option was formerly know as ``domain ``
174
174
175
- **type **: ``string `` **default **: ````
175
+ **type **: ``string `` **default **: ``'' ``
176
176
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.
179
180
180
181
cookie_secure
181
182
.............
@@ -195,9 +196,10 @@ cookie_httponly
195
196
196
197
**type **: ``Boolean `` **default **: ``false ``
197
198
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.
201
203
202
204
gc_probability
203
205
..............
@@ -207,19 +209,20 @@ gc_probability
207
209
208
210
**type **: ``integer `` **default **: ``1 ``
209
211
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.
213
216
214
217
gc_divisor
215
218
..........
216
219
217
220
.. versionadded :: 2.1
218
221
The ``gc_divisor `` option is new in version 2.1
219
222
220
- **type **: ``integer `` **default **: ``1 ``
223
+ **type **: ``integer `` **default **: ``100 ``
221
224
222
- See `` gc_probability` `_.
225
+ See `gc_probability `_.
223
226
224
227
gc_maxlifetime
225
228
..............
@@ -229,16 +232,17 @@ gc_maxlifetime
229
232
230
233
**type **: ``integer `` **default **: ``14400 ``
231
234
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 `_.
234
238
235
239
save_path
236
- ..............
240
+ .........
237
241
238
242
**type **: ``string `` **default **: ``%kernel.cache.dir%/sessions ``
239
243
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.
242
246
243
247
templating
244
248
~~~~~~~~~~
0 commit comments