| | |
|
|
|
Re: Login Page keeps looping (ASP page) |
| message from sftwin on 16 Jul 2004 |
1. on the login page, what is the purpose of the recordset "Registration"??
2. you are using reserved names in your database, i.e., password. see here
for reserved words in access (assuming you are using access):
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q109312
3. get rid of all the asp code on the 2nd page. does it wor w/o the
restricted access stuff?
4. can you reproduce the steps your users are reporting? if not, then there
is a strong likelyhood that the user is doing something wrong.
5. can you provide a url w/ a sample username and password to test?
|
| cmbergin replied to sftwin on 16 Jul 2004 |
They're probably just typing in the wrong password. From the looks of things,
default.asp is your login page. If the login fails, the user is returned to
default.asp with an error code of 1. Problem is, your page doesn't do anything
with that error code, so the login page would appear to be the same to the
user. I noticed your access denied URL is also default.asp, but with an error
code of 3.
Of course, if your login page is NOT default.asp, then I just made a fool of
myself. :)
Nonetheless, I don't think you posted all your code. The submit button's
onClick even calls the JS function checkSubmit(), which doesn't appear anywhere
in your code. Maybe there's something wrong there. Just guessing.
|
| sftwin replied to cmbergin on 16 Jul 2004 |
Oh, the error code messages are below. Like I mention...I took out several
codes because it wil be long of a post. These codes are irrelevant.
error=1
Sorry, either your Email or Password you enter were incorrect. Please try
again.
error=3
Please login before you enter this section. Thank you!
The JS script checks if anything is filled in the textbox. If not...an error
box will pop up if they push submit.
Anyhow...thanks everyone for looking into matter! I think it had something to
do with the browser security level. They user had to lower it and closed all
browser and enter the site again.
|
|
Archived message: Re: Login Page keeps looping (ASP page) (Macromedia Dreamweaver)