How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / sreenia
the better way of destroying a session is to first unset all
the values of $_SESSION variables individually, and then use
the session_destroy() function
Is This Answer Correct ? | 17 Yes | 6 No |
Post New Answer View All Answers
Why do we use session?
How to download and install php on windows?
What does $globals mean?
Why post method is used in php?
Explain the types of functions for Splitting String?
Why sessions are used in php?
What is the difference between characters 23 and x23?
What is the difference between single quoted string and double quoted string?
Why use static methods php?
What PHP stands for?
Tell me how can I display text with a php script?
What is php session_start() and session_destroy() function?
How do you use end in python?
What is the meaning of php?
Tell me what is the difference between exception::getmessage and exception::getline?