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
Name some of the constants in php and their purpose.
How to create a session? How to set a value in session? How to remove data from a session?
Explain the difference between php4 and php5.
Tell me how to create a text file in php?
Does browser understand php?
How can you associate a variable with a session?
How to include a file to a PHP page?
how to use http headers inside php? Write the statement through which it can be added?
When a conditional statement is ended with an endif?
Which is better get or post method?
Explain what does the expression exception::__tostring means?
Explain the different types of errors in php.
How can you pass a variable by reference?
Explain Traits in PHP?
How to terminate the execution of a script in PHP?