thank you
you might just as well say - you need to re-write the framework
or just a little piece of it.
never mind
i just hope it will be fixed some day
or some microsoft engeenier can post some more formal reply than just you
can overcome the bug by writing your own code instead of the framework code.
conclusion - cookie container can only add cookies and does not honor cookie
removal instructions? is it a bug?
thank you.
"Joerg Jooss" <ne********@joergjooss.de> wrote in message
news:94**************************@msnews.microsoft .com...
Thus wrote macro,
when I use HttpWebRequest with CookieContainer object that handles
cookies, i make more than one request and needs to handle cookies
being added and removed between requests, just like a regular web
browser like internet explorer.
if I have this cookie header in a response:
Set-Cookie: <CookieName>=; path=/;expires=01-Jan-1999 00:00:00 GMT
the cookie is not deleted for the next request, and is being sent
again with the old value, while should be deleted - and actually is
deleted with Internet Explorer as client.
is this a bug is there a solution / workaround by manually deleting
the cookie?
Another user mentioned this behaviour a couple of weeks ago :-/
Deleting the cookie from the container manually should work.
Cheers,
--
Joerg Jooss
ne********@joergjooss.de