harden runtime config and docs
This commit is contained in:
@@ -11,7 +11,7 @@ return value : the current session ID
|
||||
:content
|
||||
Starts a session or reconnects to an existing one.
|
||||
|
||||
If the cookie named by `session_name` does not exist, UCE creates it and fills it with a new unique session ID. The function then loads the session data for that ID.
|
||||
If the cookie named by `session_name` does not exist, UCE creates it and fills it with a new unique session ID. The function then loads the session data for that ID. Session cookies are emitted with `Path=/`, `HttpOnly`, `SameSite=Lax`, and `Secure` when `SESSION_COOKIE_SECURE=1` is set in the runtime config.
|
||||
|
||||
After `session_start()` completes, the following `context` fields are populated:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user