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

the better way of destroying a session is to first unset all
the values of $_SESSION variables individually, and then use
the session_destroy() function

Is This Answer Correct ?    17 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What version of php do I have windows?

879


What is the difference between overloading and overriding in php?

989


Which is variable cost?

899


Write a query to find the 2nd highest salary of an employee from the employee table?

988


What is the use of hooks?

905


Write a program to get second highest number in an array using php?

948


How to find the index of an element in an array php?

933


How many data types are used by php?

927


Tell me how to find the position of the first occurrence of a substring in a string?

916


What is final keyword in php?

963


What is php written in?

940


Why do we use javascript in php?

917


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

944


What is abstraction php?

924


Is php dying 2018?

912