How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / sri harsha
session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']).
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
Require_once(), require(), include(). What is difference between them?
Does strlen include null?
Explain how to run the interactive php shell from the command line interface?
How do I run a php program in dreamweaver?
What is php artisan tinker?
Where can I find php ini file?
Explain the installation of PHP on UNIX systems?
How do you remove duplicates from an array?
What does the arrow mean in php?
What are the differences between php constants and variables?
How can we determine whether a variable is set?
Is it easy to learn php?
How do I update php?
How do I display php errors?
What are the correct and the most two common way to start and finish a PHP block of code?