How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / sri harsha
session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']).
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is variable give example?
What are include() and require() functions?
Tell me what are the correct and the most two common way to start and finish a php block of code?
What is json php?
How long is a php session valid?
Why super () is used in java?
What is php artisan tinker?
Is empty in php?
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
What is use of preg_replace in php?
What is static method php?
What is the difference between javascript and php?
Why die is used in php?
How to download and install php on windows?
How can we calculate the similarity between two strings?