Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Sep 9, 2003

Get the Physical Path of a Virtual Root Path Without Using Server.MapPath()

Server.MapPath() actually generates an additional requests to the Web server. A cheaper way to get the physical path for virtual root path of your website on the server is:

Request.ServerVariables("APPL_PHYSICAL_PATH")
Michael Leung
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date