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
 
<SessionHandler::closeSessionHandler::destroy>
^SessionHandlerLast updated: Mon, 26 Oct 2026

SessionHandler::create_sid

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

SessionHandler::create_sid — Return a new session ID

Description

public function SessionHandler::create_sid(): string

Generates and returns a new session ID.

Parameters

This function has no parameters.

Return Values

A session ID valid for the default session handler.

See Also


<SessionHandler::closeSessionHandler::destroy>
^SessionHandlerLast updated: Mon, 26 Oct 2026