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 zend studio for?
How can MYSQL functions be available with PHP?
Explain what does the unset() function means?
What is PHP's configuration file called?
What is instantiation?
How do you explain independent and dependent variables?
What is new static in php?
What is class extend in php?
What is use of in_array() function in php?
What are php magic quotes?
What is config file in php?
what is benefit of magento?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Tools used for drawing er diagrams?
Can you pass an array into a function?