From 0d5cbf4e7ebd673f781d2e97619f052839cb1e51 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Wed, 19 Feb 2025 16:32:26 +0100 Subject: [PATCH] improve session handling recipe --- docs/recipes/session-handling.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/recipes/session-handling.md b/docs/recipes/session-handling.md index d31c22761..bb3d1b3f8 100644 --- a/docs/recipes/session-handling.md +++ b/docs/recipes/session-handling.md @@ -37,7 +37,7 @@ Lucee allows use of 2 types of sessions: You can define the type used in the Lucee Administrator or .CFConfig.json like this ```json { - sessionType: "cfml" + "sessionType": "cfml" } ``` and overwrite it in the Application.cfc like this @@ -53,7 +53,7 @@ https://docs.oracle.com/cd/B31017_01/web.1013/b28959/sessions.htm#:~:text=When%2 You can enable session management in the Lucee Administrator or .CFConfig.json like this ```json { - sessionManagement: true + "sessionManagement": true } ``` @@ -67,7 +67,7 @@ By default sessions are enabled You can set the default session idle timeout in the Lucee Administrator or .CFConfig.json like this ```json { - sessionTimeout: "0,0,30,0" + "sessionTimeout": "0,0,30,0" } ``` @@ -83,7 +83,7 @@ Lucee allows to define a storage for sessions, by default this is "memory", what You can set the default session storage in the Lucee Administrator or .CFConfig.json like this ```json { - sessionStorage: "memory" + "sessionStorage": "memory" } ``` and overwrite it in the Application.cfc like this @@ -107,7 +107,7 @@ In case you are using a cache or a datasource as storage you can define how the You can set the default session distribution mode in the Lucee Administrator or .CFConfig.json like this ```json { - sessionCluster: false + "sessionCluster": false } ``` and overwrite it in the Application.cfc like this