Skip to content

Commit 89361a7

Browse files
committed
MW PR fixes 1
1 parent 0fe4401 commit 89361a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/sessions.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Overview
2222

2323
In this guide, you can learn how to set up HTTP sessions by
2424
using {+odm-long+}. Sessions allow your application to store information
25-
about a user across multiple requests. Your application stores this
25+
about a user across multiple server requests. Your application stores this
2626
information in a specified location that it can access in future
27-
requests that the user makes. The {+odm-long+} session driver uses the
28-
``MongoDbSessionHandler`` class from the Symfony framework to store the
29-
sessions.
27+
requests that the user makes. The session driver in {+odm-long+} uses
28+
the ``MongoDbSessionHandler`` class from the Symfony framework to store
29+
session information.
3030

3131
To learn more about support for sessions, see `HTTP Session
3232
<https://laravel.com/docs/{+laravel-docs-version+}/session>`__ in the
@@ -44,7 +44,7 @@ guide.
4444
Next, you can select the session driver and connection in one of the
4545
following ways:
4646

47-
1. In an ``.env`` file, by setting the following variables:
47+
1. In an ``.env`` file, by setting the following environment variables:
4848

4949
.. code-block:: ini
5050
:caption: .env
@@ -73,7 +73,7 @@ the ``options`` array:
7373
- ``data_field``: Field name for storing the session data (default: ``data``)
7474
- ``time_field``: Field name for storing the timestamp (default: ``time``)
7575
- ``expiry_field``: Field name for storing the expiry-timestamp (default: ``expires_at``)
76-
- ``ttl``: Time to live in seconds.
76+
- ``ttl``: Time to live in seconds
7777

7878
We recommend that you create an index on the ``expiry_field`` field for
7979
garbage collection. You can also automatically expire sessions in the

0 commit comments

Comments
 (0)