Steven Burn wrote on 27 okt 2005 in
microsoft.public.inetserver.asp.general:
Because you are mis-using the #include tag. It's a client-side tag, not a
server side (you also cannot assign it to a var....)
I strongly disagree, Steven.
<!--#include virtual="\blahDir\blahFile.asp" -->
is serverside
and can [and most often does in my case] contain ASP level code that is
executed inline with other asp code in the master file.
<%
a = 1
%>
<!--#include virtual="\adder.asp" -->
<% 'vbscript
response.write a
' this will write 2 to the rendered html output stream,
' if adder.asp contains <% a = a+1 %>
%>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)