?
Solved

Microsoft VBScript compilation error '800a03ea'

Posted on 2002-03-07
6
Medium Priority
?
801 Views
Last Modified: 2007-12-19
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("authoriseduser")) = True
     then
     Response.Redirect"login.asp"
     
End If

%>
0
Comment
Question by:snoopy21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 14

Accepted Solution

by:
puranik_p earned 200 total points
ID: 6847014
<%@LANGUAGE=VBSCRIPT%>
<%OPTION EXPLICIT%><!--#include file="Conn.asp"-->
<%

If Session("authoriseduser") = False or IsNull(Session("authoriseduser")) = True Then
    Response.Redirect"login.asp"
   
End If

0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6847348
Puranik_p has it right.

Fritz the Blank
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6847553
Response.Redirect"login.asp"

You might want to fix this too, unless that's a typo.
Response.Redirect "login.asp"
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Expert Comment

by:lavinder
ID: 8855314
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
0
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 8857421
Sounds good,

Fritz the Blank
0
 
LVL 14

Expert Comment

by:puranik_p
ID: 8957539
                 :ô)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question