-
How do I link an external VBScript file to my ASP file?
Where should I put the code to link the VBScript file?
How do I call a routine that is found on my external VBScript file?
I used the code below to call the routine from the external VBScript file:
'MakeConn is the name of the routine
Call MakeConn(Con,DSNTemp)
Unfortunately, this error message appears:
Type Mismatch 'MakeConn'
-
why not include the file in your ASP page?
<!--include file="filename.inc"-->
-
#include
Will my site be secure if i use server side include directives (such as what you suggested) to link external files to an HTML page?
-
Security is as Good as (or as Poor as) Your asp page.
Don't name your Include files with anyother Extension than .asp
If You Place Database connection code and Passwords
in an Include file with .inc extension some one Good
Enough to guess the file's Name might simply see the code just by requesting the File over http. That's
Because normally Server does not process Individual
.inc files.
The SSI syntax is..
<!-- #include file="filename.asp" -->