proxy

Why "Content-Length: 0" in POST requests?

A customer sometimes sends POST requests with Content-Length: 0 when submitting a form (10 to over 40 fields). We tested it with different browsers and from different locations but couldn't reproduce the error. The customer is using Internet Explorer 7 and a proxy. We asked them to let their system administrator see into the problem fr...

Post processing of reverse proxied HTTP requests? (like Akamai's ESI)

We run a relatively high volume content site. Like most content sites, the majority of each page is relatively static. The articles rarely change, making them good candidates for some form of static/edge caching. There are two big problems, though. Secondary page elements (nav, recent content lists, etc) change pretty frequently, qui...

Authorize proxy access in code if customer is using Microsoft ISA Server

Hi, my code is providing an access to our web service. WebProxy proxy = new WebProxy(ProxyURL, ProxyPort); proxy.UseDefaultCredentials = false; NetworkCredential nc = new NetworkCredential( ProxyLogin, ProxyPassword); proxy.Credentials = nc; myWebService.Proxy = proxy; My problem is that customer doesn't know ProxyLogin and ProxyPas...

Best Practice for WCF Service Proxy lifetime?

When working with WCF services, is it better to create a new instance of the service every time you use it? Or is it better to create one and re-use it? Why is either approach better? Is it the same for asynchronous proxies? ...

Is there a DBI proxy that handles SQL restrictions and transactions?

I am looking for a DBI (or similar) proxy that supports both SQL restrictions and transactions. The two I know about are: DBD::Proxy DBD::Gofer DBD::Proxy The problem I have found with DBD::Proxy is that its server, DBI::ProxyServer, doesn't just restrict queries coming in over the network (which I want), but it also restricts queri...

Use Apache behind Proxy

I want to run an Apache on my local machine since I can only ssh into my server thru ajaxterm (webbased ssh client) which is a pain in the neck. Now my problem is, that I am running this server and have to send the traffic thru the companies proxy which also has user authentication with password. I have a .pac file so if I can tell Apach...

Web forwarding proxy in C# or PHP available?

I have some shared server web hosting in the States (I'm from the UK), which allows me to publish PHP and .NET applications. I cannot install my own software onto the remote server, but I'd like to set up a web forwarding proxy for accessing sites that serve different content depending on what country you're from. My C# and ASP.NET skil...

Reading proxy details in a vcl.net application using Rad Studio 2007

How to read the proxy details (address and port) from a vcl.net application (Rad Studio 2007) ?. Heard about InternetGetProxyInfo. But didnt find the details any where. Thank you. ...

scripted files download under Windows

Hey, I'm about to be forced to write a script to download some number of files under Windows XP. The machines the script will be run at are all behind a proxy, and the proxy settings are entered into the IE configuration. What came to my mind was either to somehow call IE from the command line, and using its configuration download file...

WPF - How do i insert my proxy credentials in WebBrowser Control

Hello, i m using a webbrowser control in wpf to show a virtualearth map, but because i m developing behind a proxy of my company, every time i try to see the map, i have to inser my credetials, i would like to insert them automacly in the c# code, how can i achive that? i alreadt try in the navigating event of the web broweser using: ...

Low throughput while using http remoting C#

I am using http remoting in C# to talk between two applications. Earlier when I was running both applications on a single machine/two machines, it was very slow. We have a proxy server to connect to the internet. We set "Bypass proxy server for local addresses" in IE and now when I run both applications on one machine the communication ...

Setting JVM/JRE to use Windows Proxy Automatically

Hey everyone, I did see the question about setting the proxy for the JVM but what I want to ask is how one can utilize the proxy that is already configured (on Windows). Here is a demonstration of my issue: Go to your Control Panel->Java and set a proxy address. Run the following simple applet code (I'm using the E...

Are there any tools for diffing HTTP requests/responses?

I am trying to debug some problems with very picking/complex webservices where some of the clients that are theoretically making the same requests are getting different results. A debugging proxy like Charles helps a lot but since the requests are complex (lots of headers, cookies, query strings, form data, etc) and the clients create t...

WSE 2 .Net 1.1 Client calling from inside a LAN to service on the internet. How to set the proxy server?

Hi I am trying to connect to a WSE2 web service (.Net 1.1) on the internet The client (also .Net 1.1) is inside my company LAN and has to go out through a proxy server to the internet. When I make the WSE2 call with the generated proxty it fails with the following Microsoft.Web.Services2.AsynchronousOperationException. WSE101: An asyn...

How does Hibernate create proxies of concrete classes?

To the best of my knowledge, creating a dynamic Java proxy requires that one have an interface to work against for the proxy. Yet, Hibernate seems to manage its dynamic proxy generation without requiring that one write interfaces for entity classes. How does it do this? The only clue from the Hibernate documentation refers to the fact th...

Python Proxy Script

I'm writing a simple python script so I can test my websites from a different ip address. The url of a page is given in the querystring, the script fetches the page and displays it to the user. The code below is used to rewrite the tags that contain urls but I don't think it's complete/totally correct. def rel2abs(rel_url, base=loc): ...

How can I change Firefox's proxy settings from an external program?

I've seen a few programs (eg Charles Web Developer Proxy) that are able to modify Firefox's proxy settings. The sequence is: Firefox is running, with the users proxy settings. User starts the external third party application, which modifies Firefox's proxy settings, and then the user exits the third party program and, Firefox resumes r...

How to determine uniqueness of clients from http requests?

I notice that when http requests are made from clients through a proxy server, then the IP address of the requests is always that of the proxy. So if many clients from a huge corporation with a proxy server access a web site, I cannot tell if the requests are from unique clients or not. Is there any way to determine uniqueness of clien...

Ad supported free WIFI based internet access point

We would like to setup a small Wifi access point where we provide free internet in and around our store, with store banner pop ups added to any web content they browse using this net connection. What do we need to do this ? I am expecting some kind of C# solution, but I can live with Java too :) ...

getting proxies of the correct type in nhibernate

I have a problem with uninitialized proxies in nhibernate The Domain Model Let's say I have two parallel class hierarchies: Animal, Dog, Cat and AnimalOwner, DogOwner, CatOwner where Dog and Cat both inherit from Animal and DogOwner and CatOwner both inherit from AnimalOwner. AnimalOwner has a reference of type Animal called OwnedAnima...