SessionHandler
PHP Manual

SessionHandler::create_sid

(PHP 5 >= 5.5.1, PHP 7)

SessionHandler::create_sidReturn a new session ID

Description

public string SessionHandler::create_sid ( void )

Generates and returns a new session ID.

Return Values

A session ID valid for the default session handler.

See Also


SessionHandler
PHP Manual