[thelist] Including files within Response.write

aardvark roselli at earthlink.net
Sun Mar 4 13:04:04 CST 2001


- include files get inserted before the page is handed to the script 
parser...

- include files must exist outside of the <% %> delimiters...

more info:

Including Files in ASP
http://evolt.org/article/Including_Files_in_ASP/17/1344/index.html

> From: "Michele Foster" <michele at wordpro.on.ca>
> 
> Am trying to get rid of all HTML within a page I'm working on.  But, I
> need to call include files, and this is not working. :(
> 
> Response.write "</TABLE>" & vbcrlf &_
> "<table border=""0"" cellspacing=""0"" cellpadding=""12""
> width=""95%"" align=""center"">" & vbcrlf &_ "<tr><td
> class=""content""><!--#include virtual
> =""/includes/terms.asp""--></td></tr>" & vbcrlf &_ "<tr><td
> class=""content""><a href=""javascript:history.go(-1)"">&#171;
> Return</a></td></tr>" & vbcrlf &_ "</table>" & vbcrlf
> 
> Is there a trick to using include files within ASP?  Or do I need to
> go out of ASP, include the file, then go back into ASP?




More information about the thelist mailing list