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

What are Routines?

2235


How to protect special characters in query string?

975


What is php in simple words?

1031


How can you upload a file using php?

1118


What is the role of the .htaccess file in php?

970


What are helpers in php?

957


Tell me how to get the value of current session id?

959


How long does a session last in php?

973


What is file upload?

1080


How to return ascii value of character in php?

1188


How can we get the error when there is a problem to upload a file?

1002


What is mvc? Why its been used?

959


Explain what are the two main string operators?

965


How to make a class in php?

991


Tell me what is the difference between get and post?

980