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

Require_once(), require(), include(). What is difference between them?

944


Does strlen include null?

1027


Explain how to run the interactive php shell from the command line interface?

1033


How do I run a php program in dreamweaver?

997


What is php artisan tinker?

933


Where can I find php ini file?

920


Explain the installation of PHP on UNIX systems?

1055


How do you remove duplicates from an array?

1008


What does the arrow mean in php?

961


What are the differences between php constants and variables?

1041


How can we determine whether a variable is set?

903


Is it easy to learn php?

920


How do I update php?

993


How do I display php errors?

920


What are the correct and the most two common way to start and finish a PHP block of code?

1011