Question on when idHttp opens web connection

Giganews Newsgroups
Subject: Question on when idHttp opens web connection
Posted by:  Steve McGrath (steve@no-spam.here)
Date: Fri, 30 Apr 2004

Hi,

I have 2 urls to retrieve using idHttp and I was wondering at what point
does Indy call idHttp.Connect and  idHttp.Disconnect. Does the following
result in a connect - disconnect- connect- disconnect when using the same
web server:

infolist1.Text:=idHttp1.Get(url1);
infolist2.Text:=idHttp1.Get(url2);

Thanks,

Steve

Replies