Re: Cookiemanager

Giganews Newsgroups
Subject: Re: Cookiemanager
Posted by:  Hans Peter (hanspet…
Date: Wed, 13 Oct 2004

is this a bug?

"Hans Peter" <hanspet…> schrieb im Newsbeitrag
> hi,
> i'm in trouble with the cookie manager,
> i'm making a postrequest to login into a website
> and i got a cookie and a location redirect as response,
> the problem is that the cookie is available in the cookiemanager
> but is not used for the location redirected website,
> i dont wanna add the cookie manualy like this:
> Id:=IdCookieManager.CookieCollection.Items[0].CookieText;
> IdHTTP.Request.CustomHeaders.Add('Cookie: '+ID);
> is there an other way to tell idhttp to use the given cookie?


In response to

Cookiemanager posted by Hans Peter on Mon, 11 Oct 2004