Signature
String session_id_create()
Parameters
return value : a new session ID
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");
Output
session id