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 ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is session data?
How do I find environment variables?
What is the difference between array_pop() and array_push()?
How does api connect to database?
What is the most common http method?
Tell us why did you choose this particular career path?
What is lazy loading in php?
Explain me how to include a file to a php page?
How to define a user function?
Explain what is the main difference between require() and require_once()?
What is php compared to html?
Write a program to swap two numbers using php.
How to remove blank spaces from the string?
How can you compare objects in php?
Why do we use hooks?