Return the Physical Path of the Loaded Web Page

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: ASP

More information:
This one-liner shows you how to get the physical path of the current web page. For instance, it would return C:\inetpub\wwwroot\default.asp for the home page of the default IIS site.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: