I have to use classic ASP to build a website. I want to be able to use include files for the header and footer.
How do I pass variables to the include files so that I can affect such things as titles etc. Here is some examples of what I want to do:
index.asp
<%
dim title
title="TITLE"
'Server.Execute("header.inc") <--- Note I tried this but it didnt work also
%>
<!--#include file="header.inc" -->
header.inc
<html>
<head>
<title><% Response.write title %></title>