Groups | Blog | Home
all groups > inetserver asp components > october 2003 >

inetserver asp components : include asp


Ray at <%=sLocation%
10/8/2003 9:33:16 AM
<!-- #include's are processes before any ASP code is, so you cannot do
conditional includes like that. Take a look here for your options.
http://www.aspfaq.com/2042

Ray at work

[quoted text, click to view]

Ferry
10/8/2003 3:18:10 PM
Hello,
I have a little question

<%
Option Explicit

If A1 > A2 Then
<!--#include file="A1.asp"-->
Else
<!--#include file="A2.asp"-->
End If
%>

I know that <!--#include file="A1.asp"--> is rong!
But is somthing like this possible?

Thanks,
Ferry

AddThis Social Bookmark Button