PHP Sessions
From w3cyberlearnings
# | Function | Description |
---|---|---|
1 | session_cache_expire | Return current cache expire |
2 | session_cache_limiter | Get and/or set the current cache limiter |
3 | session_commit | Alias of session_write_close |
4 | session_decode | Decodes session data from a session encoded string |
5 | session_destroy | Destroys all data registered to a session |
6 | session_encode | Encodes the current session data as a session encoded string |
7 | session_get_cookie_params | Get the session cookie parameters |
8 | session_id | Get and/or set the current session id |
9 | session_is_registered | Find out whether a global variable is registered in a session |
10 | session_module_name | Get and/or set the current session module |
11 | session_name | Get and/or set the current session name |
12 | session_regenerate_id | Update the current session id with a newly generated one |
13 | session_register_shutdown | Session shutdown function |
14 | session_register | Register one or more global variables with the current session |
15 | session_save_path | Get and/or set the current session save path |
16 | session_set_cookie_params | Set the session cookie parameters |
17 | session_set_save_handler | Sets user-level session storage functions |
18 | session_start | Start new or resume existing session |
19 | session_status | Returns the current session status |
20 | session_unregister | Unregister a global variable from the current session |
21 | session_unset | Free all session variables |
22 | session_write_close | Write session data and end session |