session_module_name

string session_module_name(string module_name) 

Gets or sets a session module name.

Returns:

Module name; FALSE on error

Description:

Gets or sets the module name for the session. You can use this function to set the session information store if you have more than one specified.

Version:

Existing since version 4.0

Example:

Show session module name
session_start(); 
echo "Session module is ", session_module_name(); 

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.