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
Where is my php ini file?
Explain php parameterized functions.
What is difference between session and cookies in php?
Is json a string php?
Explain the ternary conditional operator in php?
What are the difference between overloading and overriding in oops?
How do I install php?
What is final keyword in php?
What is the most convenient hashing method to be used to hash passwords?
What is the difference between == and === operator in PHP?
What type of headers that PHP supports?
How do I update php?
Which is better mysql or sql?
Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?
Can I use php in visual studio?