Home » PHP » PHP Sessions » Question
  1. Which function is used to erase all session variables stored in the current session?
    1. session_remove()
    2. session_destroy()
    3. session_unset()
    4. session_change()
    5. None of these
Correct Option: C

This will not completely remove the session from the storage mechanism. If you want to completely destroy the session, you need to use the function session_destroy().



Your comments will be displayed only after manual approval.