Cookiemanager

Giganews Newsgroups
Subject: Cookiemanager
Posted by:  Hans Peter (hanspet…@hotmail.com)
Date: Mon, 11 Oct 2004

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?

Replies