snoopy21
asked on
Microsoft VBScript compilation error '800a03ea'
I am trying to us a session variable to ensure that URL's cannot be copied and posted into IE to get into the system without logging in, but I am getting teh following error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/studentmain.asp, line 5
If
--^
The code I am using is the following:
<%@LANGUAGE=VBSCRIPT%>
<%OPTION EXPLICIT%><!--#include file="Conn.asp"-->
<%
If
Session("authoriseduser") = False or IsNull(Session("authorised user")) = True
then
Response.Redirect"login.as p"
End If
%>
Microsoft VBScript compilation error '800a03ea'
Syntax error
/studentmain.asp, line 5
If
--^
The code I am using is the following:
<%@LANGUAGE=VBSCRIPT%>
<%OPTION EXPLICIT%><!--#include file="Conn.asp"-->
<%
If
Session("authoriseduser") = False or IsNull(Session("authorised
then
Response.Redirect"login.as
End If
%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Response.Redirect"login.as p"
You might want to fix this too, unless that's a typo.
Response.Redirect "login.asp"
You might want to fix this too, unless that's a typo.
Response.Redirect "login.asp"
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
accept a comment - puranik_p
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
lavinder
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
accept a comment - puranik_p
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
lavinder
EE Cleanup Volunteer
Sounds good,
Fritz the Blank
Fritz the Blank
:ô)
Fritz the Blank