i have this script, it checks two cookies, sees if they're there and either prints access granted or access denied (see below)
<%
'Check my cookies so no one has any ideas about typing in the
'filename automatically
Dim l1
Dim l2
l1 = Request.Cookies("advertiser1")
l2 = Request.Cookies("advertiser2")
If l1 = "" then
Response.Write("ACCESS DENIED")
Response.End
Else If l2 = "" then
Response.Write("ACCESS DENIED")
Response.End
Else
Response.Write("ACCESS GRANTED")
end if
%>
there's just one problem, it gives me this weird error that reads...
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/_scripts/_ASP/AW-BannerAd/Advertiser/display.asp, line 17
can anyone spot the error?