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

What are the advantages of indexes in php?

992


Explain the difference between require() and require_once()?

904


Which php framework is fastest?

940


What does mvc stand for and what does each component do?

989


How can I increase my website session?

1015


What is difference between required and require_once in php?

1023


How do you identify independent and dependent variables in research?

860


What is $_ get and $_ post in php?

1001


What is difference between php and html?

970


Why php is used in html?

902


What is meant by MIME?

999


Explain how we can get the number of elements in an array?

972


How to Retrieve a Cookie Value?

1104


How many types of arrays are there in php?

910


What is the current php version?

1028