basically I have a datadriven page that the first line is this:
<%@ LANGUAGE=VB %>
I have a protective script that i use for security on each page looks like this:
<%@ LANGUAGE=VBscript %>
<%
Set asplObj=Server.CreateObjec
t("ASPL.Lo
gin5")
asplObj.Protect
Set asplObj=Nothing
%>
I have to insert that at the top of every page to protect it, but whenever i put it on a page that requires the language VB it throws errors. Shouldnt vbscript run on a page with VB language declared anyway? Can i run vbscript then switch to vb in a single page?
Start Free Trial