This article summarizes some PHP session-related functions, with brief descriptions. Friends in need can save them for emergencies.
php session function set, as follows: session_cache_expire function: Get or set the expiration time of the current Session session_cache_limiter function: Get or set the current cache limiter session_commit function: stores data in Session and terminates Session. session_decode function: Decrypt Session data session_destroy function: End all registered Sessions session_encode function: Encrypt the current Session value into a string session_get_cookie_params function: Get the parameters of Session Cookie session_id function: Get or set the current Session ID value session_is_registered function: Check whether the variable is registered as Session session_module_name function: Get or set the current Session module session_name function: Get or set the current Session name session_regenerate_id function: Update the current Session ID with a new value session_register function: Register Session as a new global variable session_save_path function: Get or set the current Session save path session_set_cookie_params function: Set Cookie parameters session_set_save_handler function: Set user-level Session storage function session_start function: initialize Session data session_unregister function: Unregister a value from the current Session session_unset function: Release all Session variables session_write_close function: write data to the Session and terminate the Session |