Is it possible to destroy a cookie?



Is it possible to destroy a cookie?..

Answer / Piyush Mishra

Yes, you can destroy a cookie in PHP using the setcookie() function with time expiration in the past.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How to specify argument default values?

1 Answers  


What are the advantages of php mysql?

1 Answers  


Do loops php?

1 Answers  


How can we find the number of rows in a result set using PHP?

2 Answers  


How can we know the count/number of elements of an array?

1 Answers  


What are the disadvantages of php?

1 Answers  


What is difference between count or sizeof function in php?

1 Answers  


How to get the ip address of the client?

1 Answers  


How to do single and multi line comment in php?

1 Answers  


What is the difference between php and javascript?

1 Answers  


What are the different functions in sorting an array?

1 Answers  


What is the difference between pop3 IMAP and MAPI?

1 Answers  


Categories