반응형

javascript 1992

What is the difference between session_unset() and session_destroy() in PHP?

What is the difference between session_unset() and session_destroy() in PHP? From the php.net documentation: session_destroy — Destroys all data registered to a session session_unset — Free all session variables My three part question is: The two functions seem very similar. What is really the difference between the two? Both seem to delete all variables registered to a session. Does any of them..

developer tip 2020.09.21
반응형