View Single Post
  #5 (permalink)  
Old Oct 9th, 2007, 09:23
pas2gether pas2gether is offline
SuperMember

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Re: checking for localhot

I have windows xp. I have IIS installed locally.

When I upload it to the web server it does some authentication.

When I test it locally, I do not want it to do the authentication (since it is local). So what I need to do is make the code check whether it is running locally, and if so skip authentication and proceed with the rest of the app.

Please not: this is nbot a Q about authentication, its simply about detecting whether I am running locally, the authentication bit is simply one example of where it would be useful.
Reply With Quote