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
Can a super () and this () keywords be in same constructor?
Does strlen include null?
Tell me what is the difference between ereg_replace() and eregi_replace()?
Explain the different types of errors in php.
explain php variable length argument function.
What are the Formatting and Printing Strings available in PHP?
What is the $_ server php_self variable?
Which function can be used to delete a file?
How to find datatype of variable in php?
What is basic php?
Which operator is used to concatenate two strings in PHP?
What is composer install?
How to insert an new array element in array?
What is the functionality of the functions strstr() and stristr()?
What is difference between web service and api?