asp classic - how can I specify a proxy configuration using Microsoft.XMLHTTP? -


I get a classic ASP page from Microsoft. I'm using XMLHTTP to post to another site ...

I want to be able to inspect what's going on with Fear, and to do this, I'm going to have a proxy To use Microsoft.XMLHTTP you will find a way to configure ...

Is this possible? Where does Microsoft.XMLHTTP get its configuration?

Thank you very much

I need to understand some things here.

ProgID "Microsoft.XMLHTTP" indicates on the same category as "MSXML2.XMLHTTP". This class uses the WinINET HTTP protocol stack that uses Internet Explorer and therefore the proxy configuration will be used in Internet settings on PC.

The proxycfg command is not useful for "Microsoft.XMLHTTP".

An XMLHTTP option is "MSXML2.ServerXMLHTTP" This class uses the WinHTTP HTTP protocol stack which is lightweight and Server is made friendly, it is safe to use multiple instances in multiple threads in the same process, where WinINET is not. For this reason the server should be used in the XMLHTTP server-side ASP code.

WinHTTP does not use Internet settings that uses WinINET, so to configure the proxy that the server will use XMLHTTP, you need to use the proxycfg command. Really useful command is: -

  proxycfg -u  

The current WinINET proxy settings of people used by WinHTTP make copies, if you Using Fiddler-like tools, it is useful to start monitoring the traffic through video-breaker, which is after the playback starts. (Note that you follow proxycfg -d to remove the proxy settings.)

The server also has a setProxy method in XMLHTTP Allows actual proxy settings to be configured dynamically.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -