C
Curt Morrison
I have an ASP login section on my site that is experiencing some problems.
Go to the following page and create a fake account (this is a test
environment, so don't worry):
http://seminarystreet.com/dev_testing/registration/default.asp
Upon completion, you will be redirected to the login page, the new login
credentials are automatically inserted into the username and password
fields.
Click the Login button. Once logged in, click the logout button and you will
get a an error from my logout script, it completely refuses to log the
visitor out. I have SQL insert statement used for auditing that is expecting
the account_id to be passed, but it isn't there for some reason. Regardless,
with or without that statement, the logout fails.
Close out of the browser and go directly to the login page again, log in
using the same credentials and try logging out. It works correctly.
Now if you create a new account, close out of your browser and start a new
session and login, it works fine too. I'm at a loss of words on this one, so
any suggestions would really be appreciated. I've included links to the
associated pages below so that you can view the code:
Registration page:
http://seminarystreet.com/dev_testing/temp_code/registration/default.txt
Login page:
http://seminarystreet.com/dev_testing/temp_code/login/default.txt
Includes:
http://seminarystreet.com/dev_testing/temp_code/includes/global.txt
http://seminarystreet.com/dev_testing/temp_code/includes/sec-public.txt
http://seminarystreet.com/dev_testing/temp_code/includes/sec-private.txt
Like I said, any suggestions would be greatly appreciated.
Thanks,
Curt
Go to the following page and create a fake account (this is a test
environment, so don't worry):
http://seminarystreet.com/dev_testing/registration/default.asp
Upon completion, you will be redirected to the login page, the new login
credentials are automatically inserted into the username and password
fields.
Click the Login button. Once logged in, click the logout button and you will
get a an error from my logout script, it completely refuses to log the
visitor out. I have SQL insert statement used for auditing that is expecting
the account_id to be passed, but it isn't there for some reason. Regardless,
with or without that statement, the logout fails.
Close out of the browser and go directly to the login page again, log in
using the same credentials and try logging out. It works correctly.
Now if you create a new account, close out of your browser and start a new
session and login, it works fine too. I'm at a loss of words on this one, so
any suggestions would really be appreciated. I've included links to the
associated pages below so that you can view the code:
Registration page:
http://seminarystreet.com/dev_testing/temp_code/registration/default.txt
Login page:
http://seminarystreet.com/dev_testing/temp_code/login/default.txt
Includes:
http://seminarystreet.com/dev_testing/temp_code/includes/global.txt
http://seminarystreet.com/dev_testing/temp_code/includes/sec-public.txt
http://seminarystreet.com/dev_testing/temp_code/includes/sec-private.txt
Like I said, any suggestions would be greatly appreciated.
Thanks,
Curt