How can we destroy the session, how can we unset the
variable of a session?

Answers were Sorted based on User's Feedback



How can we destroy the session, how can we unset the variable of a session?..

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

How can we destroy the session, how can we unset the variable of a session?..

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

How can we destroy the session, how can we unset the variable of a session?..

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

Post New Answer

More PHP Interview Questions

Is it possible to remove the html tags from data?

0 Answers  


What is cookies php?

0 Answers  


What is variable and data type?

0 Answers  


Explain what is the static variable in function useful for?

0 Answers  


What is the difference between explode () and split () functions in php?

0 Answers  






What is empty () in php?

0 Answers  


What is $_ server request_method == post?

0 Answers  


What type of comments are supported by PHP.

0 Answers  


How data or variable can be receive or send from PHP to HTML page??

3 Answers   TCS,


How to assigning a new character in a string?

0 Answers  


What is null value in php?

0 Answers  


Which is the best institute in Chennai to learn PHP? Please help.

0 Answers   BPO,


Categories