Include ASP page brings error on FP

P

PinkBishop

Trying to include an .asp page in another page. FP says it is not
allowed and that it needs to be .htm

Anybody know why or how to work around this?

Tom
 
J

Jim Buyens

-----Original Message-----
Trying to include an .asp page in another page. FP
says it is not allowed and that it needs to be .htm

Anybody know why or how to work around this?

You have two choices:

o Give the included file an .htm filename extension.

o Use an SSI rather than an Include Page component.
This is an HTML comment such as:
<!-- #include file="lib/banner.inc" -->
where lib/banner.inc is the relative path to your
file.

In either case, you should put all your included files in
a folder reserved for that purpose and then, in FrontPage
folder properties, clear Allow Files To Be Browsed.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top