J
Julie
I stumbled across Application["AppState"] from someone else's code, and I can't
find out squat about by searching MS, Google, or Google Groups.
For the most part, this is returning the fully-qualified name of the server and
path to my application, such as:
http://devserver/testapp
However, on 1 of my test servers, it returns:
http://localhost/testapp
When browsing the app on the server, that isn't a problem, however if remotely
accessing it from another machine, it is still returning localhost. As
mentioned, the same application on 3 other servers behaves as expected where
the servername is appropriately substituted.
The only difference between the servers is the ones that work are running IIS 5
(XP), the one that doesn't is running IIS 4 (2k). Is there some difference
between these IIS versions that would somehow affect how Application["AppPath"]
is initialized?
Thanks
find out squat about by searching MS, Google, or Google Groups.
For the most part, this is returning the fully-qualified name of the server and
path to my application, such as:
http://devserver/testapp
However, on 1 of my test servers, it returns:
http://localhost/testapp
When browsing the app on the server, that isn't a problem, however if remotely
accessing it from another machine, it is still returning localhost. As
mentioned, the same application on 3 other servers behaves as expected where
the servername is appropriately substituted.
The only difference between the servers is the ones that work are running IIS 5
(XP), the one that doesn't is running IIS 4 (2k). Is there some difference
between these IIS versions that would somehow affect how Application["AppPath"]
is initialized?
Thanks