uce/site/doc/pages/session_id_create.txt
2026-06-16 12:21:31 +00:00

18 lines
356 B
Plaintext

:sig
String session_id_create()
:params
return value : a new session ID
:see
>session
:content
Creates and returns a new session ID.
This helper is useful when you need to generate a session token directly rather than starting a full session flow with `session_start()`.
:example
print(session_id_create().length() > 0 ? "session id\n" : "empty\n");