in reply to Unusal request about cookies

You don't mention which browser your using but most browsers I'm aware of not only keep the cookie file, but also an index file to the cookies. Have you tried recording teh timestamps on the file before you open it and doing a touch (or equivalent) to set it (them) back to their original values after you edited the file. Maybe the browser is checking dates.

Of course, it could also be doing a checksum of the contents, in which case your probably snookered.


Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!

Replies are listed 'Best First'.
Re: Re: Unusal request about cookies
by jozefn (Novice) on Sep 26, 2002 at 21:19 UTC
    Thanks for the info. These are things that I did not think about. BTW - only IE.
Re: Re: Unusal request about cookies
by jozefn (Novice) on Sep 26, 2002 at 21:36 UTC
    I just did some experimentation. It does not appear to be the date-time stamp on the file. I just copied the cookie file and trashed the original cookie file and the browser could see my cookie just fine. It must be as you suggest some relation between index.dat and the cookie file. Still looking.