Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: HowTo get application-root-virtual-directory

Reply
Thread Tools

Re: HowTo get application-root-virtual-directory

 
 
Peter Row
Guest
Posts: n/a
 
      01-28-2004
Hi,

In order to get the part /myNewApp I believe you use:
Request.ServerVariables("PATH_INFO")

Well any way to get any of that kind URL info you use one of the
Request.ServerVariables("")

Regards,
Peter
"Patrick Spieler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi
>
> what's the best way to get the current application-root-virtual-directory,
> e.g. http://localhost/myNewApp ?
>
> thanks,
> patrick
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto get 'debug' commands on a PIX 501 to work? Nibly Cisco 6 02-22-2005 04:28 PM
FormatString("3333.50", "{0:N2}") => 3.333,50 HowTo do get this: 3333.50 ? Andreas Klemt ASP .Net 0 07-15-2003 01:02 AM
HowTo get a Viewstate Value from my Parent Class? Andreas Klemt ASP .Net 0 07-14-2003 10:31 PM
HowTo: get request.form[i].name Wilhelm Pieper ASP .Net 5 07-06-2003 05:44 PM



Advertisments