Deleting a cookie with ASP

Results 1 to 2 of 2

Thread: Deleting a cookie with ASP

  1. #1
    strands Guest

    Default Deleting a cookie with ASP

    sorry.....this may be a no-brainer for many of you.<BR><BR>I need to delete a cookie using ASP but none of the references I have mention a method or property of The Response object to do it.<BR><BR>What is the correct way to do this?<BR><BR>Do you set the expiry to some time in the past or is there a method that needs to be used?<BR><BR>Many thanks in advance<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Deleting a cookie with ASP

    response.cookies("CookieName").expires = date - 1000<BR><BR>1000 or any large number so that it will expire the cookie immediately

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts