Keeping the internet connection alive

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I am trying to use the internet transfer control to send some data to a
site. I want my MS ISA proxy server to keep the connection alive. What
syntax should I use to send the 'keep alive' data to the proxy server? Is
any of the following any good?

objInet.Execute "http://wwww.mysite.com", "POST", "Some Data",
"Content-Type: application/x-www-form-urlencoded Proxy-Connection:
Keep-Alive" & vbCrLf

objInet.Execute "http://wwww.mysite.com", "POST", "Some Data",
"Content-Type: application/x-www-form-urlencoded, Proxy-Connection:
Keep-Alive" & vbCrLf

objInet.Execute "http://wwww.mysite.com", "POST", "Some Data",
"Content-Type: application/x-www-form-urlencoded Proxy-Connection:" & vbCrLf
& "Keep-Alive" & vbCrLf

Thanks

Regards
 
You don't want to keep the connection open forever, this will degrade
performance. However, what you want to do is open the connection on a
as-needed basis. For instance:

I use functions written at the MS Access level to pass information to an ASP
page, which opens a connection to the database and writes the data
(Querystrings) to the database on the web server. Once that data is written
the connection is closed. In turn, there are ASP pages that open the
connection when a user places an order and that information is returned back
(Querystrings) to functions written in an MS Access database. I have a
'go-between' database that handles the up/down information processing.
Performance is quite fast; the web server is on the east coast of the U.S.
and the client is in Colorado. This connection is using Access 97 to give
you a benchmark.
 
OK, I created a new All/All/All protocol rule in ISA Server and it worked.
Not sure why the default protocol rule 'BackOffice Internet Access Protocol
Rule' does not work in this case.

Thanks

Regards
 
Back
Top