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


Please Help Members By Posting Answers For Below Questions

What is difference between echo and print in php?

500


How to check an key is exists in array?

556


Explain Constant in Class?

568


What is the use of super-global arrays in php?

510


Does php has a future?

498






How to get no. of rows using MYSQL function?

570


Is a number php?

529


What are php strings?

536


Is overloading possible in php?

524


What are objects in php?

532


What is factory pattern in php?

499


Tell me what is needed to be able to use image function?

545


Tell me what is the definition of a session?

553


Tell me what is the actually used php version?

568


What is move_uploaded_file in php?

556