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 many records can be stored in mysql table?
Is php open source?
What is mysql_real_escape_string used for?
What is the main difference between asp net and php?
Describe session in php.
What are the different ways to login to a remote server?
How do you connet mysql database with php?
Is it possible to use com component in php?
What is the difference between for and foreach loop in php?
What are php loops?
What kind of things have you done on the social side?
Explain the purpose of output buffering in php.
What is implode() in php?
How to create reusable code in php?
What are the __construct() and __destruct() methods in a php class?