Author: Tryst | Posted on: 7/31/2008 4:11:10 PM | Views : 315

 Hi all
I have a slight problem at the moment where I have PDF software that creats a PDF report and saves the file on the server. Initially, I had localhost or 127.0.0.1, which worked fine locally and on the test server, but on the live server I have problems because we have two hostheaders/files (I can't remember the name :-s) on the one IIS server - so we have www.creditsafe.ie and www.creditsafeuk.com running off the same server, and naturally, localhost does not know which one to map to.
Is there a way I can programmatically get this fixed? Are there properties on an object (Request) which will give me the domain of a website, i.e http://www.creditsafeuk.com and the with this I can append my querystring variables.
I hope I have explained myself well.
Thanks in advance.
Tryst

...

Go to the complete details ...