Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SessionIdInterfaceSessionUpdateTimestampHandlerInterface>
^SessionIdInterfaceLast updated: Mon, 26 Oct 2026

SessionIdInterface::create_sid

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

SessionIdInterface::create_sid — Create session ID

Description

public function SessionIdInterface::create_sid(): string

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

Parameters

This function has no parameters.

Return Values

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

See Also


<SessionIdInterfaceSessionUpdateTimestampHandlerInterface>
^SessionIdInterfaceLast updated: Mon, 26 Oct 2026