home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
207.233.110.77
/
207.233.110.77.tar
/
207.233.110.77
/
vbasic
/
error.asp
< prev
next >
Wrap
Text File
|
2001-10-12
|
2KB
|
70 lines
<%@ LANGUAGE="VBSCRIPT" %>
<% Option Explicit %>
<html>
<head>
<%
Dim strURL
Dim intSec
intSec = 5
Select Case LCase(Trim(Request.QueryString("error")))
Case "denied", "noacct", "dupacct"
strURL = "default.asp"
Case "notactive"
strURL = "default.asp"
intSec = 8
Case "bademail", "badname", "badpassword"
strURL = "newacct.asp"
Case "findpassword"
strURL = "forgotpassword.asp"
End Select
%>
<META HTTP-EQUIV=REFRESH CONTENT="<%=intSec%>;URL=<%=strURL%>">
</head>
<body>
<p>
<%
Select Case LCase(Trim(Request.QueryString("error")))
Case "denied"
%>
<h1>Access Denied!</h1>
<p>Returning you to login page...</p>
<%
Case "noacct"
%>
<h1>Account not found or password invalid!</h1>
<p>Returning you to login page...</p>
<%
Case "bademail", "findpassword"
%>
<h1>Email address invalid!</h1>
<p>Please enter a valid email address. Returning you to previous page...</p>
<%
Case "dupacct"
%>
<h1>Account <%=Session("AcctName")%> already exists!</h1>
<p>Returning you to login page...</p>
<%
Case "notactive"
%>
<h1>Account: <%=Session("AcctName")%> not yet activated!</h1>
<p>An email message will be sent to you when your account is activated.<br>
Returning you to login page...</p>
<%
Case "badpassword"
%>
<h1>Password Invalid!</h1>
<p>Please enter a valid password. Returning you to the Create New Account page...</p>
<%
Case "badname"
%>
<h1>Name is blank or contains invalid characters!</h1>
<p>Please enter a valid First and Last Name. Returning you to the Create New Account page...</p>
<%
End Select
%>
</body>
</html>