Re: Saving session cookies and such.

Giganews Newsgroups
Subject: Re: Saving session cookies and such.
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 12 May 2004

"Caleb" <no…> wrote in message

> For example, I want it to query (POST) a certain page, then
> that page returns cookies, i want those cookies to be saved,
> then i want to query the next page, so that those cookies that
> were previously saved would be readable.

TIdHTTP already handles all of that for you automatically.  Just make sure
that you have attached a TIdCookieMananger to the TIdHTTP.  Or at least set
the AllowCookies property to true, which will then create a TIdCookieManager
internally if you don't use your own.



In response to

Saving session cookies and such. posted by Caleb on Wed, 12 May 2004