This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:session_destroy [2017/05/13 12:08] admin created |
uphp:functions:session_destroy [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | session_destroy() | + | ======session_destroy====== |
- | This is only applicable for HTTP initiated scripts. | + | < |
+ | |||
+ | Clear the current session' | ||
+ | |||
+ | ====Description==== | ||
+ | |||
+ | <well size=" | ||
+ | <span style=" | ||
+ | </ | ||
+ | |||
+ | This is only applicable for HTTP initiated scripts. | ||
+ | |||
+ | This function clears the array. | ||
+ | |||
+ | ====Parameters==== | ||
+ | |||
+ | None | ||
+ | |||
+ | ====Return Values==== | ||
+ | |||
+ | None | ||
+ | |||
+ | ====See Also==== | ||
+ | |||
+ | [[uphp:uPHP Special Variables]] - Special arrays that are populated automatically (including '' | ||
+ | |||
+ | [[session_is_new()]] - Check if a session was just initiated | ||
+ | |||
+ | [[session_start()]] - Initiate a new session and send the cookie data for it | ||
- | session_destroy() clears the array. |