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

Is empty function c++?

906


What are the four scalar types of php?

1085


Why post method is used in php?

1076


Explain converting an object?

981


What is the importance of php?

933


What does $_server means?

935


What language is php written in?

1029


Why php was called as personal home page?

944


Why is used in php?

929


How to set a value in session? How to remove data from a session?

948


How can we submit from without a submit button?

981


What is the method to register a variable into a session?

815


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

948


what is benefit of magento?

2505


When are you supposed to use endif to end the conditional statement?

903