php8.5
Home/ Manual/ session / sessionidinterface/ SessionIdInterface::create_sid

SessionIdInterface::create_sid

PHP function Edit on GitHub ✎

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

Create session ID

Description

SessionIdInterface::create_sid(): string

Creates a new session ID.This function is automatically executed when a new session ID needs to be created.

Parameters Parameters

Return Values

The new session ID. Note that this value is returned internally to PHP for processing.

See Also

  • SessionHandler::create_sid

Source: reference/session/sessionidinterface/create-sid.xml · from the official PHP manual (php/doc-en)