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...


What are the ways we can destroy a session variable ?

Answers were Sorted based on User's Feedback



What are the ways we can destroy a session variable ?..

Answer / prasad

session_destroy. and session_unset

Is This Answer Correct ?    30 Yes 1 No

What are the ways we can destroy a session variable ?..

Answer / nilsoft

There are three ways

1. session_destroy()
2. session_unset()
3. session_unregister()

Is This Answer Correct ?    4 Yes 1 No

What are the ways we can destroy a session variable ?..

Answer / jeevi

it will destroy all the variables.
session.invalidate();

if you want to destroy individual variables, use this command.
session.removeAttribute("sessionvariablename");

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More PHP Interview Questions

What is the meaning of "enctype= multipart/form-data" ?

0 Answers  


How to join multiple strings into a single string?

0 Answers  


How long is session timeout?

0 Answers  


Hi, My Name is Ajay Jha. What My Question is I am Percuing in Bca. It's My 5th Semester. I Want To Make My Carrear as a web designer that's Why i wants to do Php, Is it right Desision for Me ?

1 Answers  


How can we get the browser properties using PHP?

4 Answers   Google, Pollux Softech,


How many types of inheritances used in php and how we achieve it.

0 Answers  


Tools used for drawing er diagrams?

0 Answers  


Can we run php in apache tomcat?

0 Answers  


What version of php do I have windows?

0 Answers  


Should I learn php before wordpress?

0 Answers  


What is php data type?

0 Answers  


What is the difference between include and include_once ? Which is one is good in terms of performance ?

2 Answers   Dest,


Categories