Helpful Information
 
 
Category: ASP Programming
#include virtual in ASP

Is there anybody know how to make <!--#include virtual="myfolder/qqq.asp"> working. My IIS correctly works only with <!--#include files=""> and it doesn't with virtual:confused:

Thanks a lot:)
_________________________
With best regards,
Julia Pavlova
Programmer
Rapid Internet Development
AlarIT Inc.
URL: http://www.alarit.com

Have you created a virtual directory called 'myfolder' from your IIS Manager?

When using a virtual include you must either have a folder that exists off the root, or a Virtual Directory created in IIS.

When using the Include remember the following syntax

<!--#INCLUDE FILE="adovbs.inc"-->

This calls the a file in the same root (do not prefrix these with andy ../ or /

<!--#INCLUDE VIRTUAL="/includes/adovbs.inc"-->

MUST always start with a slash.

Hope this is of some help...

D@n










privacy (GDPR)