RE: What is the difference between session_unregister() and session_unset()?

session_unregister() vs session_unset()

dip Team Leader Asked on February 11, 2017 in PHP.
Add Comment
1 Answers

session_unregister()
Unregisters the global variable name from the current session.

session_unset()
The function frees all session variables currently registered.

Team Leader Answered on March 19, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.