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 / sri harsha

session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']).

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of a persistent cookie?

1217


How to remove an empty directory?

1085


Why php is also called as scripting language?

1030


What is uniqid php?

1130


How to retrieve values out of an array?

1102


Which array function checks if the particular key exists in the array?

958


Is jquery better than javascript?

1037


Is facebook still written in php?

1040


What are constructor and destructor in PHP?

1184


How to connect to mysql from a php script?

1115


What library is used for pdf in php?

1122


How to calculate the difference between two dates using php?

1106


Write a program using while loop in php?

1058


How to pass variables by references?

1042


Differentiate between require and include?

1027