Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft VBScript compilation error '800a03f6'

Status
Not open for further replies.

NMPx

Programmer
Oct 18, 2011
1
US
Hello, I am making a website for my school that demands a newspage, so i was working on a login for the posting rights, now i keep on getting
-----
Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/NMPx/Data/Data/login_header.asp, line 8

-----
heres the script
-----
<%
user = Request.Form("user")
password = Request.Form("password")
Set RSlogin = connect.Execute("Select * From Login Where user = '"&user&"' And password = '"&password&"'")
If Not RSlogin.EOF Then
Session("inne") = True
end if
if Session("inne") = True then
%>
-----
I just cant get it right? any fixes?
 
Hi,
One thig I noticed is an incomplete IF at the end

Code:
if Session("inne") = True then [COLOR=red] // then what?[/color]
%>



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
This is an ASP.NET forum, you code looks like classic ASP with VB script. There are separate forums for them there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top