changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+15 -12
View File
@@ -5,18 +5,21 @@ String session_start(String session_name = "uce-session")
session_name : optional name of the session cookie, defaults to "uce-session"
return value : the current session ID
:desc
Starts session or connects to existing session. This function sets a cookie with the name contained in 'session_name' if it does not exist and fills that cookie with a new unique session ID. It then loads the session data for that session ID. Afterwards, the following fields are populated in the 'context' variable:
context.session_id : the current session ID
context.session_name : the current session cookie name
context.session : the current session data. The session data is automatically saved after a request completes.
:see
>session
:related
**PHP:** `session_start()`
**JavaScript / Node.js:** Express `express-session`, `cookie-session`, or similar request-bound session middleware
: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.
After `session_start()` completes, the following `context` fields are populated:
- `context.session_id` contains the current session ID.
- `context.session_name` contains the current session cookie name.
- `context.session` contains the current session data. The session data is automatically saved after the request completes.
Related:
- PHP: `session_start()`
- JavaScript / Node.js: Express `express-session`, `cookie-session`, or similar request-bound session middleware