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

the better way of destroying a session is to first unset all
the values of $_SESSION variables individually, and then use
the session_destroy() function

Is This Answer Correct ?    17 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

/temp is a type of filesystem directory. State Whether True or False?

1017


Do I need apache for php?

1076


How long is a php session valid?

1004


How many types of array supported in php?

973


Is age nominal or ordinal?

940


Where to put php files in apache server?

972


What is difference between strstr() and stristr() in PHP?

981


Tell me what should we do to be able to export data into an excel file?

948


What is the name of scripting engine in php?

1218


What's php?

1070


Define urlencode() and urldecode() used in php?

1186


Tell me how can I display text with a php script?

965


Which library is used in php to do various types of image work?

986


What is php sequence?

943


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

1071