How can we destroy the cookie?

Answer Posted / thoms

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

Is This Answer Correct ?    37 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the ternary conditional operator used in php?

514


Can you define an argument as a reference type?

546


When to use get and post request?

549


Is php front end?

503


What is meant by variable variables in php?

527






How to create a directory?

611


Is age a variable in research?

480


Why php script is not running in browser?

559


What are the different types of statements that are present in php?

543


Explain the difference between isset() and empty()?

532


How do you check if an arraylist is empty?

511


How to assigning a new character in a string using php?

539


What does the unlink() function mean?

572


What is php beginner?

500


What is session in c#?

525