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 / lakshmi

using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are magic methods?

954


Are there regular expressions in php?

937


What is the difference between implode() and explode() in php?

1027


Tell me how do I check if a given variable is empty?

948


What is php stack?

949


How to get the IP address of the client/user in PHP?

957


Explain $_FILES Superglobal Array?

1033


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

961


What is the use of trim function in php?

966


How to get the number of characters in a string?

1025


What is local variable in php?

975


Why many companies are switching their current business language to php? Where php basically used?

947


What is data type in php?

1048


What is php string function?

1010


How can we submit a form without using submit buttons?

958