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

session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']), and
also write like this...
$_session['name']=='';
you can assign null.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session in php w3schools?

1059


What is mysql_fetch_object?

1053


How does php work with apache?

1058


What is the main difference between require() and require_once()?

1006


Can you use php and javascript together?

1026


Which function would you use to merge two arrays in php?

978


Tell me what's the difference between include and require?

1001


What is the difference between client-side and server-side programming?

1104


What is isset post?

1019


What is properties of class?

1061


Which php framework is best?

979


What are variables in research examples?

1085


How long will it take to learn php?

980


How to concatenate two strings together in php?

1062


How to redirect a url from http to https in .htaccess?

985