B
bobbyballgame
I need to pass an absolute, rather than relative URL to an item. For
example, say my default page is:
http://MyServer/MyApp/Default.asp, I may have to pass down a link to
http://MyServer/MyApp/MyLinks/MyLink.htm
but all I know is that it will be at AppUriBase + "/MyLinks/MyLink.htm"
How do I programatically come up with the proper AppUriBase from the
Request?
I have looked into the HTTP_HEADERS and I can think of some ways that would
work in my test environment, but I need to be sure that the Base that I get
will work in all situations. Is there a standard or best way to do that, or
does anyone know of specific pitfalls that should be avoided?
As an aside, this is a web application that will be rolled out and installed
by clients.
Thanks,
BB
PS: And we are talking Non .NET asp
example, say my default page is:
http://MyServer/MyApp/Default.asp, I may have to pass down a link to
http://MyServer/MyApp/MyLinks/MyLink.htm
but all I know is that it will be at AppUriBase + "/MyLinks/MyLink.htm"
How do I programatically come up with the proper AppUriBase from the
Request?
I have looked into the HTTP_HEADERS and I can think of some ways that would
work in my test environment, but I need to be sure that the Base that I get
will work in all situations. Is there a standard or best way to do that, or
does anyone know of specific pitfalls that should be avoided?
As an aside, this is a web application that will be rolled out and installed
by clients.
Thanks,
BB
PS: And we are talking Non .NET asp