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 session in php w3schools?

0 Answers  


How arrays are passed through arguments?

0 Answers  


How many keywords are there in php?

0 Answers  


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

0 Answers  


Explain how to run the interactive php shell from the command line interface?

0 Answers  


List some array functions in php?

0 Answers  


i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....

1 Answers  


Tell me how can we display information of a variable and readable by human with php?

0 Answers  


Why php language is used?

0 Answers  


What is mean tnq

0 Answers   TNQ,


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

0 Answers  


what do you mean by php.ini file ?????????

2 Answers   Samsung,


Categories