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
What is the main difference between php 4 and php 5?
Is age nominal or ordinal?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
Write syntax to open a file in php?
What is the use of get and post method in php?
Which of the delimiter is ASP style?
What are the php variables?
What is the meaning of symbol '$' in jquery?
How to create a session? How to set a value in session? How to remove data from a session?
Tell me what sized websites have you worked on in the past?
Tell me how can we determine whether a variable is set?
What does the scope of variables mean?
What is difference Between PHP 5 and 7?
What is exception handling in php?
Why php is also called as scripting language?