How can we destroy the session, how can we unset the
variable of a session?
Answers were Sorted based on User's Feedback
Answer / lakshmi
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / lakshmi
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajan vardawaj
session_unregister() - Unregister a global variable from the
current session session_unset() - Free all session variables
| Is This Answer Correct ? | 2 Yes | 4 No |
What is __ invoke in php?
What is the use of htmlspecialchars in php?
What is the use of final class in php?
How to get the IP address of the client/user in PHP?
What is the difference between php and javascript?
What is the difference between php traits vs interfaces?
What is difference between required and require_once in php?
How to return ascii value of character in php?
Is not null in php?
What is a stored procedure in mysql?
Explain what is memcache?
What is the ioncube php loader?