How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / murali
session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']), and
also write like this...
$_session['name']=='';
you can assign null.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the function in PHP do not return a timestamp?
What is php resource type?
What is the purpose of constant() function?
What are the string functions in php?
What is csrf token in php?
How check field is empty or not in php?
Is php 5 still supported?
What is variable and data type?
What is the main difference between php 4 and php 5?
Can we extend final class in php?
What are major variables in research?
how can i develop forum code? any one pleale help me on this question
What is cookie in php with example?
Why namespace is used in php?
What is the function of trim?