在线文档教程
PHP

session_module_name

session_module_name

(PHP 4, PHP 5, PHP 7)

session_module_name — Get and/or set the current session module

Description

string session_module_name ([ string $module ] )

session_module_name() gets the name of the current session module.

Parameters

module

If module is specified, that module will be used instead.

Return Values

Returns the name of the current session module.

← session_is_registered

session_name →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/function.session-module-name.php