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
What is the purpose of php?
What is a query in php?
What is the use of ajax in php?
How do you use an array in excel?
Why do you need to filter out empty files?
Why php is also called as scripting language?
What is the difference between get & post ?
What are examples of dependent variables?
Differentiate echo vs. Print statement.
Where are php configuration settings stored?
Tell me how to find the length of a string?
Tell me how is it possible to parse a configuration file?
Tell me how to find current date and time?
What is binary safe function in php?
What are the steps for the payment gateway processing?