Interview Questions

How can we destroy the session, how can we unset the variable of a session?

PHP Interview Questions and Answers


(Continued from previous question...)

How can we destroy the session, how can we unset the variable of a session?

session_unregister() - Unregister a global variable from the current session
session_unset() - Free all session variables

(Continued on next question...)

Other Interview Questions