Get Current Full App Path?

J

Juan T. Llibre

Dim fullappname as string = Request.Url.Host
fullURL.text = "The full URL to the application root is : " & "http://" & fullappname &
Request.ApplicationPath & "/"

If you don't need the trailing slash :

"http://" & fullappname & Request.ApplicationPath



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top