Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development | Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
Author | Forum: PowerTCP Web Enterprise for ActiveX Topic: PowerTCP Web Enterprise to replace .NET's HttpWebRequest |
asawyer From: Bethlehem, PA USA Posts: 2 Member Since: 08/31/04 |
posted August 31, 2004 1:34 AM I am considering using PowerTCP Web Enterprise in place of .NET's HttpWebRequest. My scenario is like this: A front-end web server (in C#.NET) makes a large number of very simple HTTP requests to a middle-tier web server. It is essential that a pool of HTTP 1.1 keepalive connections between the two web servers is used. When the front-end web server has a request to make, it is expected that a connection from the pool is used (whenever possible), and that the pooled connections are reused across inter-server requests. The inter-web-server requests are elementary (I already have code writting with the WebASP control to perform all of the request types that I need to do). What I'm really looking for the Dart product to do is properly maintain a pool of persistent HTTP connections. Is this possible with PowerTCP Web Enterprise? If so, how can I re-use the objects such that this behavior occurs? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 31, 2004 9:37 AM The "Request" object has properties for both Version and KeepAlive. Are these what you are looking for? |
asawyer From: Bethlehem, PA USA Posts: 2 Member Since: 08/31/04 |
posted August 31, 2004 3:07 PM That's not exactly what I was looking for. Yes, I can get the request object to open a single connection and use it multiple times during the servicing of a single request on my front-end web server. But, can I reuse that very same underlying HTTP connection to the middle-tier web server while servicing other requests to my front-end server? I got an error when I tried to declare a DartWebASP object statically and the re-use it from multiple requests. I don't have the message handy, but it was something to the effect of Dart objects not being callable from different threads. There may be an issue in the COM interop preventing what I'm trying to accomplish (but I'm not sure). |
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
This site is powered by
![]() |