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 |
How to execute a php script from the command line?
What do you mean by core php?
What is static variable in php?
What is exception handling in php?
Do you know how to delete a file from the system?
Where is the submitted form data stored?
How to create a text file in PHP?
How to get the total number of values in an array?
How can we know that a session is started or not?
What is difference between action hook and filter hook?
What is difference Between PHP 5 and 7?
how to uploade video in php????