Answer Posted / anuj kumar gupta
session_destroy() — Destroys all data registered to a session
session_unregister() — Unregister a global variable from the
current session
session_unset() — Free all session variables
If globals is on, you'll have to unset the
$_SESSION[varname] as well as the $varname.
Like:
unset($_SESSION[varname]);
unset($varname);
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Which is not a php magic constant?
Do you know how to get the ip address of the client?
Does php need to be installed?
Why is php used for web development?
Is python better than php?
How to declare an array in php?
How to create database connection and query in php?
How does the identity operator ===compare two values in PHP?
Explain me what is the goto statement useful for?
What is the w3c?
What is a controller php?
What is the Default syntax used in PHP?
Tell me how the result set of mysql be handled in php?
How be the result set of mysql handled in php?
Tell me what is the difference between unset() and unlink()?