title: Passing parameters to classic ASP include files
body: <p>I have to use classic ASP to build a website.
  I want to be able to use include files for the header and footer.</p>
  
  <p>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:</p>
  
  <p>index.asp</p>
  
  <pre><code>&lt;%
  dim title
  title="TITLE"
  
  'Server.Execute("header.inc") &lt;--- Note I tried this but it didnt work also
  %&gt;
  &lt;!--#include file="header.inc" --&gt;
  </code></pre>
  
  <p>header.inc</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;% Response.write title %&gt;&lt;/title&gt;
  </code></pre>