From 22ada5633a36bea2249c2697c86070edad173b6b Mon Sep 17 00:00:00 2001 From: rustagir Date: Fri, 18 Apr 2025 09:19:51 -0400 Subject: [PATCH 1/3] DOCSP-49324: dedicated session handler --- docs/sessions.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/sessions.txt b/docs/sessions.txt index e8ed10e7a..4980ff74c 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -24,9 +24,15 @@ In this guide, you can learn how to set up HTTP sessions by using {+odm-long+}. Sessions allow your application to store information about a user across multiple server requests. Your application stores this information in a specified location that it can access in future -requests that the user makes. The session driver in {+odm-long+} uses -the ``MongoDbSessionHandler`` class from the Symfony framework to store -session information. +requests that the user makes. + +.. note:: Session Handler Implementation + + Starting in v5.4, {+odm-long+} implements the dedicated + ``MongoDbSessionHandler`` class that extends the Laravel + ``DatabaseSessionHandler`` class to store session information. In + v5.3 and earlier versions, the session driver uses the + ``MongoDbSessionHandler`` class from the Symfony framework. To learn more about support for sessions, see `HTTP Session `__ in the From 7d7816dd514ad89f9c240b9dd27f67f9d0bc3636 Mon Sep 17 00:00:00 2001 From: rustagir Date: Fri, 18 Apr 2025 09:39:38 -0400 Subject: [PATCH 2/3] JT wording fix --- docs/sessions.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/sessions.txt b/docs/sessions.txt index 4980ff74c..c52092743 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -28,10 +28,13 @@ requests that the user makes. .. note:: Session Handler Implementation - Starting in v5.4, {+odm-long+} implements the dedicated + The v5.4 {+odm-long+} introduces the dedicated ``MongoDbSessionHandler`` class that extends the Laravel - ``DatabaseSessionHandler`` class to store session information. In - v5.3 and earlier versions, the session driver uses the + ``DatabaseSessionHandler`` class to store session information. + The ``mongodb`` session driver saves user IDs, IP addresses, and user + agents if present. + + In v5.3 and earlier versions, the session driver uses the ``MongoDbSessionHandler`` class from the Symfony framework. To learn more about support for sessions, see `HTTP Session From b7858d6101dbd3f456c62d16c95943acb6ec90e8 Mon Sep 17 00:00:00 2001 From: rustagir Date: Fri, 18 Apr 2025 10:06:33 -0400 Subject: [PATCH 3/3] MM small fix --- docs/sessions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sessions.txt b/docs/sessions.txt index c52092743..0f334b873 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -34,7 +34,7 @@ requests that the user makes. The ``mongodb`` session driver saves user IDs, IP addresses, and user agents if present. - In v5.3 and earlier versions, the session driver uses the + In v5.3 and earlier, the session driver uses the ``MongoDbSessionHandler`` class from the Symfony framework. To learn more about support for sessions, see `HTTP Session