Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / devendrarjadav

session_destroy() function destroys all data registered to
current session. use unset function to destroy varible
specified with session. So to destroy $name registered with
session use unset($name) in your php script.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we define a variable accessible in functions of a php script?

977


Do while loops php?

964


What is form action php?

1004


Explain the difference between static and dynamic websites?

974


What is an abstract class in php?

936


What is the maximum size of a database in mysql?

987


What is isset in php form?

1006


How to create an array from php string?

1026


What are the advantages of indexes?

899


What is cURL in PHP?

974


What is Apache's configuration file typically called?

1117


Is facebook still in php?

918


What is difference between compile time and run time polymorphism?

998


What is xss and csrf?

922


What is the difference between md5(), crc32() and sha1() crypto on php?

1042