Re: Saving session cookies and such.

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

"Caleb" <no…@hotmail.com> wrote in message
news:AEA38383EB9CE240no…@hotmail.com...

> 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.

Gambit

Replies

In response to

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