在线文档教程
PHP

SessionHandler::create_sid

SessionHandler::create_sid

(PHP 5 >= 5.5.1, PHP 7)

SessionHandler::create_sid — Return a new session ID

Description

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 →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/sessionhandler.create-sid.php