SessionHandler::create_sid

(PHP 5 >= 5.5.1, PHP 7)

SessionHandler::create_sidReturn a new session ID

Description

public SessionHandler::create_sid ( ) : string

Generates and returns a new session ID.

Return Values

A session ID valid for the default session handler.

See Also

© 1997–2020 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