How will you delete a Cookie?

By setting its Expires property to any date prior to today
Response.Cookies("cookie name").Expires = Date – 1.

Showing Answers 1 - 1 of 1 Answers

Smita

  • Dec 25th, 2006
 

Set the expires property to any date prior to today for a Cookie

eg. Response.Cookies(<cookie name>).Expires=Date -1

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions