Previous Code Entry
Bootstrap Tags Input (Classic ASP and SQL Server Database)
Current Code Entry
Next Code Entry
SELECT Statement, INSERT Statement, UPDATE Statement, DELETE Statement, in ASP using Parameter's, in the combat against SQL & XSS INJECTION
Classic ASP md5 Hash Login Script
Article Entry Date: May 8,2022 @ 11:44:02 / Last Updated On: October 25,2022 @ 02:58:17
Original Coding Article #: 20

This script is very powerful and is used by over a thousand people and still counting.
I just updated it to use MD5 protection to secure it even more. (Look at the coding history below)
This script will allow you to set up a login page for your site.
This script, however, does not come with the registration form.

The code is a Classic ASP login script with SQL Server backend for your website using MD5 hashing for password security.

[History of the Login Script]
  1. Login to: Carrzkiss's Demo Cookie Logger
  2. Made better than ever. Using Parameters to help stop SQL Injections. Updated on: 3:33 am EST September 15th, 2009
  3. Updated on: 5:48 pm EST May 21st, 2010
  4. Added in Full Database connection, this will allow you to stop potential People from downloading your database.
  5. Update on: 6:12am EST June 22, 2011
  6. Added in an md5 hash for password logins; this helps in keeping your User's information stays safe and secure behind a wall. With the September 15th, 2009, SQL and XSS Injection prevention, this code is a very HIGH priority for any ASP Classic Developer.
  7. Updated on: 11:30 PM EST May 8, 2022
  8. SQL Server backend connection for new website design and examples.
    We are now challenging the password field along with the username.
    This challenge makes it more secure, ensuring that the username and password both match; if not, you do not get in.
    The SQL Script to create a Table and the record is included in the [Live View] below.

The Live View below will give you access to all the code.
Please pay close attention to the ASP Tab, as you will have to separate all the codes and put them on their proper page.asp files. They are labeled, so do not get nervous; all codes are tested to ensure they work before going live on our site.