(PHP 5 >= 5.5.1, PHP 7, PHP 8)
SessionHandler::create_sid — Return a new session ID
public SessionHandler::create_sid(): string
Generates and returns a new session ID.
This function has no parameters.
A session ID valid for the default session handler.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sessionhandler.create-sid.php