G
Guest
Hi;
I need to get the base url (what pages in my app are added to to make the
complete url). To do this when I have a request object it's a piece of cake -
I use http://www.davidthielen.info/programming/2006/10/base_url_in_an_.html
But I have an event handler for my HttpApplication. In that event handler I
create html pages. If those pages have images, I need to have links to the
images that I will serve up.
It seems to me this may be impossible. Because I may hit the site using
http://server while someone else uses http:///www.domain.com, etc. Is there a
way to do this?
Or am I right that it makes no sense because of aliases for the same machine?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I need to get the base url (what pages in my app are added to to make the
complete url). To do this when I have a request object it's a piece of cake -
I use http://www.davidthielen.info/programming/2006/10/base_url_in_an_.html
But I have an event handler for my HttpApplication. In that event handler I
create html pages. If those pages have images, I need to have links to the
images that I will serve up.
It seems to me this may be impossible. Because I may hit the site using
http://server while someone else uses http:///www.domain.com, etc. Is there a
way to do this?
Or am I right that it makes no sense because of aliases for the same machine?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm