OK.. here a bit of sample code
<% @Language="VBScript" %>
<% OPTION EXPLICIT %>
<% Response.Buffer = True %>
<% Session.LCID = &H0809 %>
<!-- #include virtual= "/includes/asp/constants_inc.asp" -->
<!-- #include virtual= "/includes/asp/enumerations_inc.asp" -->
<!-- #include virtual= "/includes/asp/functions_inc.asp" -->
<%
'Call subFlushCache
'Call subSessionTimeOut(Session("USER"),"/timout.asp")
Dim strSQL,objConn,objRS
Dim strFID : strFID = Request.QueryString("fid")
strFID = fnReconstruct(strFID)
Call subDB_OpenConn(objConn)
strSQL = "SELECT Stuff,User,DateCreated,Decription FROM myTable Where myTableID = " & strFID
Set objRS = objConn.Execute(strSQL)
If (objRS.EOF and objRS.BOF) Then
Response.Write "<h1>Error: The query returned no data!</h1>"
Call subDB_CloseConn(objConn,objRS)
Response.End
End If
%>
<!-- #include virtual= "/includes/asp/head_inc.asp" -->
<body class="page">
<h1 class="formH1">Test</h1>
<div class="qsection">
<fieldset class="qfieldset" title="">
<legend>
Some stuff goes here
</legend>
Form Ref: <%=objRS("stuff")%> Created: <%=objRS("DateCreated")%> by <%=objRS("User")%>
<div class="bottomPad"> </div>
<!-- #include virtual= "/includes/asp/foot_inc.asp" -->
<%
Call subDB_CloseConn(objConn,objRS)
%>
The weird this is that I opened an asp file this morning with the problem, when I saved it under a new name, the correct highlighting just suddenly started working properly(?).
I'll see if I can get replicate the issue again and send you the details.