start session | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Begins a server session. |
Introduced | 5.0 |
OS | mac, windows, linux |
Platforms | server |
Example |
|
Related | Keyword: $_SESSION Property: sessionSavePath, sessionLifetime, sessionName, sessionId Command: stop session, delete session Glossary: property |
Description | Use the start session command to begin a server session. The contents of the $_SESSION array is restored if available. If no session identifier is specified by the sessionId property or contained within the session cookie, then a new session will be created with a unique identifier, and the contents of the session cookie set to that identifier. The location where the $_SESSION array is stored on the server is configured using the sessionSavePath property. A session is stored until it expires or is deleted using the delete session command. The maximum age of a session is configured using the sessionLifetime property.
|