I have a few Subs in one file that do things like write the headers and footers of my page. I want to separate them from my code so I have put them in another page (inc_html.asp). I get an error when I try to use:
<%
server.execute "inc_html.asp"
Call WriteHeader
%>
I am here.
<%
Call WriteFooter
%>
Server.Execute works and when I cut and paste the code for the sub into this page, it works and I can write the header and footer. Any suggestions?
T1m
<%
server.execute "inc_html.asp"
Call WriteHeader
%>
I am here.
<%
Call WriteFooter
%>
Server.Execute works and when I cut and paste the code for the sub into this page, it works and I can write the header and footer. Any suggestions?
T1m