Without seeing the advice to which you're referring, I can only guess that
what the advice was. It was probably that Option Explicit should come first
in the code, and cache control is the first thing you should send to the
browser.
From the example here,
http://www.aspfaq.com/show.asp?id=2022, you'd modify
it like so:
<%@ Language = VBScript %>
<%
Option Explicit
Dim pStr
pStr = "private, no-cache, must-revalidate"
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", pStr
%>
"Captain Nemo" <Ca*****@NoSpam.com> wrote in message
news:DX*********************@news-text.cableinet.net...
If you look around on the web for advice on cache-control and using
'Option
Explicit' you get a paradox.
Both features are supposed to be the first piece of ASP code on the page.
Well they can't BOTH be first can they?
OK - I give up. How do you do it?