How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / lakshmi
using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are magic methods?
Are there regular expressions in php?
What is the difference between implode() and explode() in php?
Tell me how do I check if a given variable is empty?
What is php stack?
How to get the IP address of the client/user in PHP?
Explain $_FILES Superglobal Array?
Explain the difference between require() and require_once()?
What is the use of trim function in php?
How to get the number of characters in a string?
What is local variable in php?
Why many companies are switching their current business language to php? Where php basically used?
What is data type in php?
What is php string function?
How can we submit a form without using submit buttons?