You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manual/includes/_session.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Session variables keep information about one single user, and are available to a
9
9
```yaml
10
10
session:
11
11
name: ${SESSION_NAME}
12
-
max_life_time: ${SESSION_MAX_LIFE_TIME}
12
+
max_lifetime: ${SESSION_MAX_LIFE_TIME}
13
13
save_handler: ${SESSION_SAVE_HANDLER}
14
14
save_path: ${SESSION_SAVE_PATH}
15
15
cookie_lifetime: ${SESSION_COOKIE_LIFETIME}
@@ -23,7 +23,7 @@ session:
23
23
24
24
- **name**: Specifies the name of the session. The value `${SESSION_NAME}` refers to an environment variable or a parameter that should be defined elsewhere in the application or server environment. It determines the session's name identifier.
25
25
26
-
- **max_life_time**: Defines the maximum lifetime of the session in seconds. The value `${SESSION_MAX_LIFE_TIME}` is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.
26
+
- **max_lifetime**: Defines the maximum lifetime of the session in seconds. The value `${SESSION_MAX_LIFE_TIME}` is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.
27
27
28
28
- **save_handler**: Specifies the handler used to save session data. In this case, `${SESSION_SAVE_HANDLER}` likely refers to the session handler, such as `redis`, `files`, or `database`, depending on the server configuration.
Copy file name to clipboardExpand all lines: manual/index.html
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1233,7 +1233,7 @@ <h3>Create Yaml File</h3>
1233
1233
salt: ${APP_DATABASE_SALT}
1234
1234
session:
1235
1235
name: MUSICPRODUCTIONMANAGER
1236
-
max_life_time: 86400
1236
+
max_lifetime: 86400
1237
1237
vocal_guide_instrument: piano</code></pre>
1238
1238
<h3>Setting Up Environment Variables</h3>
1239
1239
<p>On Windows, users can directly create environment variables either via the graphical user interface (GUI) or the <code>setx</code> command line. PHP can immediately read environment variables after Windows is restarted.</p>
<p><strong>name</strong>: Specifies the name of the session. The value <code>${SESSION_NAME}</code> refers to an environment variable or a parameter that should be defined elsewhere in the application or server environment. It determines the session's name identifier.</p>
3485
3485
</li>
3486
3486
<li>
3487
-
<p><strong>max_life_time</strong>: Defines the maximum lifetime of the session in seconds. The value <code>${SESSION_MAX_LIFE_TIME}</code> is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.</p>
3487
+
<p><strong>max_lifetime</strong>: Defines the maximum lifetime of the session in seconds. The value <code>${SESSION_MAX_LIFE_TIME}</code> is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.</p>
3488
3488
</li>
3489
3489
<li>
3490
3490
<p><strong>save_handler</strong>: Specifies the handler used to save session data. In this case, <code>${SESSION_SAVE_HANDLER}</code> likely refers to the session handler, such as <code>redis</code>, <code>files</code>, or <code>database</code>, depending on the server configuration.</p>
@@ -3527,21 +3527,21 @@ <h3>Session with Redis</h3>
@@ -3808,7 +3808,7 @@ Session variables keep information about one single user, and are available to a
3808
3808
```yaml
3809
3809
session:
3810
3810
name: ${SESSION_NAME}
3811
-
max_life_time: ${SESSION_MAX_LIFE_TIME}
3811
+
max_lifetime: ${SESSION_MAX_LIFE_TIME}
3812
3812
save_handler: ${SESSION_SAVE_HANDLER}
3813
3813
save_path: ${SESSION_SAVE_PATH}
3814
3814
cookie_lifetime: ${SESSION_COOKIE_LIFETIME}
@@ -3822,7 +3822,7 @@ session:
3822
3822
3823
3823
- **name**: Specifies the name of the session. The value `${SESSION_NAME}` refers to an environment variable or a parameter that should be defined elsewhere in the application or server environment. It determines the session's name identifier.
3824
3824
3825
-
- **max_life_time**: Defines the maximum lifetime of the session in seconds. The value `${SESSION_MAX_LIFE_TIME}` is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.
3825
+
- **max_lifetime**: Defines the maximum lifetime of the session in seconds. The value `${SESSION_MAX_LIFE_TIME}` is expected to come from an environment variable or configuration setting, controlling how long the session will last before it expires.
3826
3826
3827
3827
- **save_handler**: Specifies the handler used to save session data. In this case, `${SESSION_SAVE_HANDLER}` likely refers to the session handler, such as `redis`, `files`, or `database`, depending on the server configuration.
0 commit comments