in reply to delete cookies

Do you mean something like:
grep -v "this.domain" cookies > new-cookie-file
Or:
perl -pe 'print unless /this.domain/' cookies > new-cookie-file

Replies are listed 'Best First'.
RE: Re: delete cookies
by Anonymous Monk on Oct 03, 2000 at 00:18 UTC
    huh? what cookie file? im so confused.
      Oh, sorry.
      In case you are using netscape (the other browsers might be different) you should find a file called 'cookies' somewhere in your system. On unix, it is in ~/.netscape/cookies.

      After you find this file, you can just erase the lines that you don't like. Either with a text editor or with perl.

      If you are the original poster, perhaps you can provide us with some more information about your question:
      • Is this a CGI question? Are you wanting a CGI script to clear cookies that it has set in the past? Are you wanting a CGI script to clear cookies set by other areas of your web site?
      • Is this a Windows question? Are you wanting to clear a set of cookies in Internet Explorer? Netscape?
      • Is this a Unix question? Are you wanting to clear a set of cookies out of Netscape or another browser?
      Give us more information.
        i want to do this as simple as possible. im not a programmer but i would like to make a page where i can go and lcick a button and not have to remember how it workd.