Print Page | Close Window

Header using file

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5018
Printed Date: 30 March 2026 at 3:02pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Header using file
Posted By: sprychun
Subject: Header using file
Date Posted: 14 August 2003 at 7:41am
I was wondering if there was a way to have a header (with logo, links, tables, etc...) that will always display at top of any page. Without using frames. I need to be able to change it and have it change on all pages. I was thinking a seperate file with HTML code in it, but I can't figure out how to load it into my ASP code. Any help? Thanks.



Replies:
Posted By: MorningZ
Date Posted: 14 August 2003 at 9:00am

you would use a Server Side Include (SSI) call

<!--#include file="header.asp"-->

and that asp (or could be "html" or "inc" or "txt"  for that matter) has the static stuff you want to display...... 



-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net