How can we destroy the session, how can we unset the
variable of a session?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / 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 |
Is php deprecated?
How can I convert ereg expressions to preg in php?
What is isset php?
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What are the differences between require and include, include_once?
Is array function in php?
If i make my selection in State Dropdown list, i would the City and ZipCode dropdown list to be automatically reupdated based on the State i select.(This to avoid the user select a City or Zipcode that does not correspond to the State previously selected.)
How do I run a php script in windows?
What is the difference between fopen() and fclose()?
How do you end php?
Can we override magic methods in php?
List out the predefined classes in PHP?