Re: Cookies-getting from response, putting into request

Giganews Newsgroups
Subject: Re: Cookies-getting from response, putting into request
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Sun, 17 Oct 2004

"JF" <john.forb…@shaw.ca> wrote in message
news:F19CDEF3AEB0E240john.forb…@shaw.ca...

> I issue Get and Post successfully except that the server expects
> a Cookie returned. In Indy 9 where do I find the cookie that
> comes in Response and how do I get it into the subsequent Request?

You shouldn't have to do that yourself manually.  Just attach a
TIdCookieManager to the TIdHTTP (actually, it automatically creates one
internally if needed) and it handles the cookies for you.

Gambit

Replies

In response to

Cookies-getting from response, putting into request posted by JF on Sun, 17 Oct 2004