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 difference between client-side and server-side programming?
When sessions ends?
How send email using php?
When use javascript vs php?
What is array and function?
What is the use of callback in php?
Name some of the constants in php and their purpose.
What is difference between php and html?
How can we submit a form without using submit buttons?
What do you use php for?
What is the use of mysql_real_escape_string in php?
Explain what does $_server means?
Write a program to find no of days between two dates in php?
Which php framework is in demand?
Tell me which programming language does php resemble to?