Page.VirtualDirectory Property

The VirtualDirectory property contains the name of the virtual directory for the site.

Example

Assuming that the path to a site is:

http://www.microsoft.com/clocktower/default.asp

then the following script displays “clocktower”:

Response.Write mscsPage.VirtualDirectory

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.