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 does the identity operator === compare two values?

1163


What is an array in php?

1147


What is explode() in php?

1008


How to enable parsing?

1070


Which software is used to run php programs?

1008


What is the use of trim in php?

984


What is difference between static and final in php?

1013


For image work which library is used in php?

995


Explain me what are the 3 scope levels available in php and how would you define them?

1209


How can you send email in php?

970


How can we submit from without a submit button?

1007


Php error constants and their descriptions

1185


What is the use of Php variables?

1087


What is the difference between exception::getmessage and exception::getline?

963


Tell me can you extend a final defined class?

1058