Examveda
Examveda

Which function is used to erase all session variables stored in the current session?

A. session_destroy()

B. session_change()

C. session_remove()

D. session_unset()

Answer: Option D

Solution(By Examveda Team)

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().

This Question Belongs to PHP >> HTML Forms Handling

Join The Discussion

Related Questions on HTML Forms Handling