Rodger wrote on 15 aug 2008 in microsoft.public.inetserver.asp.general:
Quote:
>
I am looking to re-work my main page and have been using include
statements on it and I now want to add another section, but this time
my include is ASP. If I pull the ASP up by itself it works just fine.
How ever when I have it in my default.htm page the ASP does not
execute so when I look at the source I see all the ASP Code. any idea
what I need to set?
>
Here is the code in my main page for the include.
>
<P align=CENTER style="FONT-FAMILY: Tahoma"><!--#include
file="public/nursing.htm"--></P><hr />
>
<!--#include file="public/MENU.asp"--></td>
>
MENU.asp - works if I type it in the address bar, but when I have it
in my include it does not work.
|
MENU.asp is not executed as an asp page,
but,
and that is what include is supposed to do,
the source is just inserted as a text string.
so,
if the mail page is main.htm, there is no ASP rendering.
Read up on ASP include specs.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)