SessionIdInterface::create_sid

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

SessionIdInterface::create_sidCreate session ID

说明

public SessionIdInterface::create_sid(): string

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

参数

此函数没有参数。

返回值

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

参见