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
How can I display text with a php script?
How to get the http request in php?
Is php 5 still supported?
What is a persistence cookie?
What is composer install?
What is the sign to start variables in PHP?
What are php libraries?
How do I stop php artisan serve in windows?
How long is csrf token?
what is benefit of magento?
What is the use of mysql_fetch_assoc in php?
Why do we use htaccess and where?
Can you define an array argument as a reference type?
How come the code works, but doesn’t for two-dimensional array of mine?
What is empty () in php?