Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit db71580

Browse files
DOCSP-49324: dedicated session handler (#3364)
1 parent bcf97d2 commit db71580

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

‎docs/sessions.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,18 @@ In this guide, you can learn how to set up HTTP sessions by
2424
using {+odm-long+}. Sessions allow your application to store information
2525
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 session driver in {+odm-long+} uses
28-
the ``MongoDbSessionHandler`` class from the Symfony framework to store
29-
session information.
27+
requests that the user makes.
28+
29+
.. note:: Session Handler Implementation
30+
31+
The v5.4 {+odm-long+} introduces the dedicated
32+
``MongoDbSessionHandler`` class that extends the Laravel
33+
``DatabaseSessionHandler`` class to store session information.
34+
The ``mongodb`` session driver saves user IDs, IP addresses, and user
35+
agents if present.
36+
37+
In v5.3 and earlier, the session driver uses the
38+
``MongoDbSessionHandler`` class from the Symfony framework.
3039

3140
To learn more about support for sessions, see `HTTP Session
3241
<https://laravel.com/docs/{+laravel-docs-version+}/session>`__ in the

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /