session_module_name
(PHP 4, PHP 5, PHP 7, PHP 8)
session_module_name — Get and/or set the current session module
Parameters
module
-
If module is specified and not null, that module will be
used instead.
Passing "user" to this parameter is forbidden. Instead
session_set_save_handler() has to be called to set a user
defined session handler.
Return Values
Returns the name of the current session module, or false on failure.