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 session in php w3schools?
What is mysql_fetch_object?
How does php work with apache?
What is the main difference between require() and require_once()?
Can you use php and javascript together?
Which function would you use to merge two arrays in php?
Tell me what's the difference between include and require?
What is the difference between client-side and server-side programming?
What is isset post?
What is properties of class?
Which php framework is best?
What are variables in research examples?
How long will it take to learn php?
How to concatenate two strings together in php?
How to redirect a url from http to https in .htaccess?