Clearing a cookie with a button

Results 1 to 2 of 2

Thread: Clearing a cookie with a button

  1. #1
    Join Date
    Dec 1969

    Default Clearing a cookie with a button

    I have a form that a user selects a file for uploading then after they do that a cookie gets set, there is no way to clear the cookie at that point other than going off the page. The easiest way to do it would be to expire the cookie with a button. <BR><BR>I was using "Response.Cookies("CookieName").Expires = Now() -1000." Could I put that command in a button?<BR><BR>Could this be done?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default sure you can

    IF you submit the page and have it do that on the SERVER<BR><BR><BR>

Posting Permissions

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