Solved

Microsoft VBScript compilation error '800a03ea'

Posted on 2002-03-07
6
788 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
If-Then-Else ASP problem 6 72
Weighted Randomizing 6 34
Date on a table 16 37
PHP $_POST vs asp request 4 28
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…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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