That will do it, too, but Request.Url will do it
just as well, with a bit more economy of bytes.
I've sometimes wondered why 2 properties are needed,
if one of them will do the same job with less bytes being used.
One of those properties should be deprecated,
and I suspect it should be the one which takes
more characters to write.
;-)
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Oc**************@TK2MSFTNGP12.phx.gbl...
Do you mean something like
Request.Url.AbsoluteUri
??
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"MattB" <so********@yahoo.com> wrote in message
news:3b*************@individual.net... Is there something in the .Net libraries that will let me retrieve (or
get enough information to recreate) the full URL of a page in my
application? Sort of like the reverse Server.MapPath() that would at
least give me back the "http://www.mydomain.com" part of the url?
Thanks!
Matt