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

using session_destroy()we can destroy the session and using
session_unset() we can delete all the session variable

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some of the constants in php and their purpose.

928


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

918


Explain the difference between php4 and php5.

934


Tell me how to create a text file in php?

928


Does browser understand php?

869


How can you associate a variable with a session?

960


How to include a file to a PHP page?

972


how to use http headers inside php? Write the statement through which it can be added?

970


When a conditional statement is ended with an endif?

888


Which is better get or post method?

867


Explain what does the expression exception::__tostring means?

817


Explain the different types of errors in php.

1010


How can you pass a variable by reference?

943


Explain Traits in PHP?

885


How to terminate the execution of a script in PHP?

997