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().Related Questions on HTML Forms Handling
Which two predefined variables are used to retrieve information from forms?
A. $GET & $POST
B. $_GET & $_POST
C. $__GET & $__POST
D. GET & POST
A. basic sql injection
B. advanced sql injection
C. cross-site scripting
D. scripting
When you use the $_GET variable to collect data, the data is visible to.
A. none
B. only you
C. everyone
D. selected few
When you use the $_POST variable to collect data, the data is visible to.
A. none
B. only you
C. everyone
D. selected few
Join The Discussion