469,631 Members | 1,209 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Server Variables vs. Url Mapping

I have a PageBase class I use which has a bunch of properties to get various
"path" components for the page... such as:
protocol: http
server: www.myserver.com
full: http://www.myserver.com/index.aspx
file: index.aspx
path: http://www.myserver.com/

and so on. They all work beautifully. Until I went and added a url mapping.
I added a URL mapping of
http://www.myserver.com/myfolder/index.aspx
to
http://www.myserver.com/index.aspx

The mapping works fine, as expected. But if I query the values of the
properties above, the reflect the values of the "real" url (/index.aspx),
not the mapped url (/myfolder/index.aspx). Is there anyway to get those to
reflect the mapped url, or is that just a function of the way ASP.NET
performs the mapping?

Thanks in advance,
Arthur Dent.
Sep 20 '06 #1
0 1121

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by fabian | last post: by
4 posts views Thread by Angel Mazo | last post: by
6 posts views Thread by Prasad | last post: by
10 posts views Thread by Diego F. | last post: by
6 posts views Thread by William F. Zachmann | last post: by
3 posts views Thread by Oops-c++ | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.