19 lines
435 B
Plaintext
19 lines
435 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()`.
|
|
|
|
Related:
|
|
|
|
- PHP: `session_create_id()` or custom session token generators
|
|
- JavaScript / Node.js: `crypto.randomUUID()` or custom secure session ID generation
|