session_id
session_id
(PHP 4, PHP 5, PHP 7)
session_id — Get and/or set the current session id
Description
string session_id ([ string $id ] )
session_id() is used to get or set the session id for the current session.
The constant SID
can also be used to retrieve the current name and session id as a string suitable for adding to URLs. See also Session handling.