PHP 8.1.24 Released!


(PHP 5 >= 5.5.1, PHP 7, PHP 8)

SessionHandler::create_sidReturn a new session ID


public SessionHandler::create_sid(): string

Generates and returns a new session ID.


This function has no parameters.

Return Values

A session ID valid for the default session handler.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top