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 cookie?

Answers were Sorted based on User's Feedback



How can we destroy the cookie?..

Answer / thoms

By providing past values.
for eg:
setcookie("name","value",time()-3600);

Is This Answer Correct ?    37 Yes 6 No

How can we destroy the cookie?..

Answer / rakesh kumar nautiyal

cookie.expires = Now()-1

Is This Answer Correct ?    33 Yes 15 No

How can we destroy the cookie?..

Answer / nikunj

By setting previous time for cookie, we can destroy it.

Is This Answer Correct ?    16 Yes 6 No

How can we destroy the cookie?..

Answer / dat

set the cookie in the past

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More PHP Interview Questions

Why do we use polymorphism in php?

0 Answers  


What is a static variable in php?

0 Answers  


How easy is php?

0 Answers  


What is member function?

0 Answers  


What is $this in php?

0 Answers  


What are php applications?

0 Answers  


Are php sessions cookies?

0 Answers  


what is abstrac class? why it is use?

5 Answers  


What is the difference between echo print and print_r 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  


Write a program using while loop in php?

0 Answers  


What type of errors can be occurred in php?

0 Answers  


Categories