Option Explicit:

The <% option explicit %> statement forces you to declare variables. Using this statement makes debugging applications easier.

Code:

In this example there are no variables defined in the header include.

header.asp

Highlight

In the page template you would use the <% option explicit %> statement and define the variable in the following way:

default.asp

Highlight
In this next example the variables are defined in the header include.

header.asp

Highlight

In the page template you would use the <% option explicit %> statement and define the variable in the following way:

default.asp

Highlight