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
What version of php do I have windows?
What is the difference between overloading and overriding in php?
Which is variable cost?
Write a query to find the 2nd highest salary of an employee from the employee table?
What is the use of hooks?
Write a program to get second highest number in an array using php?
How to find the index of an element in an array php?
How many data types are used by php?
Tell me how to find the position of the first occurrence of a substring in a string?
What is final keyword in php?
What is php written in?
Why do we use javascript in php?
How to redirect a url from http to https in .htaccess?
What is abstraction php?
Is php dying 2018?