How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / sri harsha
session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']).
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Tell me is it possible to protect special characters in a query string?
How to support multiple-page forms?
In php how can you jump in to and out of "php mode"?
What is string and its function?
What is php and its advantages?
What is the output of the following php code?
What is global array in php?
Tell us how to set cookies in php?
What is csrf token and why it is required?
Is python easier than php?
What is php and how do you use it?
How to remove an empty directory?
What is the use of "ksort" in php?
A process can run only in the background. State Whether True or False?
how retrive the video file in php using video tag