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 / sri harsha

session can be destroyed by using session_destroy() function
and variable can be unset by unset($_session['name']).

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I display text with a php script?

1042


How to get the http request in php?

988


Is php 5 still supported?

984


What is a persistence cookie?

942


What is composer install?

1052


What is the sign to start variables in PHP?

1088


What are php libraries?

928


How do I stop php artisan serve in windows?

949


How long is csrf token?

922


what is benefit of magento?

2532


What is the use of mysql_fetch_assoc in php?

972


Why do we use htaccess and where?

1003


Can you define an array argument as a reference type?

916


How come the code works, but doesn’t for two-dimensional array of mine?

1041


What is empty () in php?

957