Solved

Microsoft VBScript compilation error '800a03ea'

Posted on 2002-03-07
6
778 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
6 Comments
 
LVL 14

Accepted Solution

by:
puranik_p earned 50 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SMS AddAttachment Protocol Error Classic ASP 10 42
API not working 33 62
Generate report pulling data (links) from three tables 31 64
SQL to update characters in table column 6 127
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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