How can we destroy the session, how can we unset the
variable of a session?
Answer Posted / rajan vardawaj
session_unregister() - Unregister a global variable from the
current session session_unset() - Free all session variables
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the ioncube php loader?
Does empty check for null?
What is csrf cookie?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
Which function is used in php to check the data type of any variable?
Why is overriding runtime?
What is PECL?
How do you destroy a particular or all Sessions?
What is the difference between array_merge() and array_merge_recursive() in php?
What advance thing in php7?
Tell me how do you execute a php script from the command line?
What are psrs? Choose 1 and briefly describe it?
Tell me what does the initials of php stand for?
Tell me how to create a session? How to set a value in session? How to remove data from a session?