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 |
Hi all,, im completely new to PHP, started learning just 2 days before. Can anybody tell me how to run a PHP file to see the program's output? i have created some simple program in Dreamweaver CS3 but don't know how to run it...
How to return a value back to the function caller?
What is reference variable php?
How can we extract string ‘abc.com ‘ from a string info@abc.com" target="_blank">http://info@abc.com using regular expression of php?
What are the options to transfer session ids?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
How to call javascript function in php on button click?
What is the default time in seconds for which session data is considered valid?
Explain me what are the main error types in php and how do they differ?
What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?
What is the use of count() function in php?
How to invoke a user function?