[thelist] ASP SSI Question
Bob Fowler
bob at rjf.ca
Thu Feb 28 09:25:42 CST 2002
> do while not recordset.eof
> %>
> <!-- #include file="page.asp?id=<%=rs("x")%>" -->
> <%
> loop
I would also like to add that SSI is processed *prior* to ASP... Therefore,
if this was to run, ASP would begin processing on a file that looks like:
do while not recordset.eof
%>
-- Contents of
-- The included file
-- are here.
<%
loop
A much better way to have conditional includes is to use the Server.Execute
and Server.Transfer functions of IIS5 (if you have it).
Thanks,
Bob.
More information about the thelist
mailing list