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 are the advantages of php?
Is multilevel inheritance possible in php?
Which are the best start and end tags to use?
What the limitation of header() function in php?
What is a PHP Filter?
What does $_env mean?
Php says that an array is an ordered map. But how the values are ordered in an array?
What the use of var_dump()?
What is smarty?
Explain about the connective abilities of the PHP?
Which operator is used to concatenate two strings in PHP?
What is difference between rest and http?
What is the scope of a variable defined in a function?
Explain the difference between unlink() and unset()?
What is zend studio for?