展开

开发者手册

PHPSessionsSessionHandler::create_sid

SessionHandler::create_sid

(PHP 5 >= 5.5.1, PHP 7)

SessionHandler::create_sid — Return a new session ID

Description

代码语言:javascript
复制
public string SessionHandler::create_sid ( void )

Generates and returns a new session ID.

Return Values

A session ID valid for the default session handler.

See Also

  • session_id() - Get and/or set the current session id

← SessionHandler::close

SessionHandler::destroy →

代码语言:txt
复制
 © 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.