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 the function in PHP do not return a timestamp?

1020


What is php resource type?

953


What is the purpose of constant() function?

1142


What are the string functions in php?

966


What is csrf token in php?

1083


How check field is empty or not in php?

1044


Is php 5 still supported?

987


What is variable and data type?

1023


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

972


Can we extend final class in php?

1044


What are major variables in research?

1003


how can i develop forum code? any one pleale help me on this question

1936


What is cookie in php with example?

944


Why namespace is used in php?

988


What is the function of trim?

925