From db71580531db6a97b6eac9705f70f7eea0a8b1ed Mon Sep 17 00:00:00 2001 From: Rea Rustagi <85902999+rustagir@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:34:59 -0400 Subject: [PATCH] DOCSP-49324: dedicated session handler (#3364) --- docs/sessions.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/sessions.txt b/docs/sessions.txt index e8ed10e7a..0f334b873 100644 --- a/docs/sessions.txt +++ b/docs/sessions.txt @@ -24,9 +24,18 @@ 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 + + The v5.4 {+odm-long+} introduces the dedicated + ``MongoDbSessionHandler`` class that extends the Laravel + ``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, the session driver uses the + ``MongoDbSessionHandler`` class from the Symfony framework. To learn more about support for sessions, see `HTTP Session `__ in the