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

What is the main difference between php 4 and php 5?

976


Is age nominal or ordinal?

943


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1914


Write syntax to open a file in php?

1044


What is the use of get and post method in php?

1008


Which of the delimiter is ASP style?

1083


What are the php variables?

1017


What is the meaning of symbol '$' in jquery?

1060


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

976


Tell me what sized websites have you worked on in the past?

897


Tell me how can we determine whether a variable is set?

915


What does the scope of variables mean?

958


What is difference Between PHP 5 and 7?

1114


What is exception handling in php?

1605


Why php is also called as scripting language?

958