Skip to content

Commit bf0b29b

Browse files
committed
minor #16479 [Session] Update session.rst v5.4/6 (BahmanMD)
This PR was merged into the 5.4 branch. Discussion ---------- [Session] Update session.rst v5.4/6 Commits ------- 48124cf Update session.rst v5.4/6
2 parents a2d2361 + 48124cf commit bf0b29b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

session.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ sessions, check their default configuration:
2626
# improves the security of the cookies used for sessions
2727
cookie_secure: auto
2828
cookie_samesite: lax
29+
storage_factory_id: session.storage.factory.native
2930
3031
.. code-block:: xml
3132
@@ -48,7 +49,8 @@ sessions, check their default configuration:
4849
-->
4950
<framework:session handler-id="null"
5051
cookie-secure="auto"
51-
cookie-samesite="lax"/>
52+
cookie-samesite="lax"
53+
storage_factory_id="session.storage.factory.native"/>
5254
</framework:config>
5355
</container>
5456
@@ -68,6 +70,7 @@ sessions, check their default configuration:
6870
// improves the security of the cookies used for sessions
6971
->cookieSecure('auto')
7072
->cookieSamesite('lax')
73+
->storage_factory_id('session.storage.factory.native')
7174
;
7275
};
7376

0 commit comments

Comments
 (0)