Session function:
Session_cache_expire returns the expiration time of the current cache
Session_decode decoding session data (deserialization method differs from Unserialize (), the serialization method is built into PHP and can be modified by Session.serialize_handler () configuration items)
Session_destroy Destroy all data in a session
Session_encode encode the current session data as a string (the deserialization method is different from serialize (), and the serialization method is built into PHP and can be modified with the Session.serialize_handler () configuration item)
Session_get_cookie_params () Gets the parameters of the session cookie
SESSION_ID () can be used to get/set the current session ID
Session_name () reads/sets the name of the session (Session_name () returns the name of the current session, and if the name parameter is specified, the Session_name () function updates the session name and returns the original session name)
Session_save_path () (read/Set save path for current session)
Session_status () returns the status of the current session
Session_unset () Releases all session variables
PHP Basics-Functions