I've got a page that's basically a support request form for customers to fill out and submit... It's in ASP.net with C# as the code behind. I've managed to get the computer name to populate into one of the forms text boxes using 'System.Environment.MachineName;' and I've come up against the monumental problem of this not working unless it's in some sort of intranet type environment where it can do it's reverse DNS lookup... This is fine as the page will usualy be accessed within our AD Forest(s). The problem I am coming up against now is unless I disable the proxy in Internet Explorer, I keep getting the proxyname/address back instead of the computer name. It works perfect if I disable the proxy...
So is there a away I can get this 2 or 3 lines of code to go out of the proxy but the rest of the page stay in? Or maybe if I have to get the whole page to run out of the proxy as the reference points are all local it should still work without the webproxy..?
Any help is much appriciated!
Thanks, Adam.