This script is very powerful, used by thousands, and is still counting.
I just updated it to use MD5 encryption to secure it further. (Look at the coding history below)
This script lets you set up a login page for your site.
This script, however, does not come with the registration form
.
Live Lessons Example - Classic ASP md5 Hash Login Script
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
    Made better than ever.
    Using Parameters to help stop SQL Injections.
    Updated on: 3:33 am EST September 15, 2009
  2. Updated on: 5:48 pm EST May 21st, 2010
    Added a full database connection, which will allow you to stop potential
    People from downloading your database.
  3. Update on: 6:12 am EST June 22, 2011
    Added an MD5 hash for password logins; this helps in keeping your
    User's information stays safe and secure behind a wall.
    With the September 15, 2009, SQL and XSS Injection prevention, this code is a very HIGH priority for any ASP Classic Developer.
  4. Updated on: 11:30 PM EST May 8, 2022
    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 by ensuring that the username and password match; if they don't, you don't get in.
    The SQL Script to create a Table and the records are included in the [Live View].
  5. Updated on: 4:30 AM EST May 30, 2026
    Added JQuery/AJAX to the login, so you stay on the same page.
The Live View below will give you access to all the code.
Please pay close attention to the ASP Tab, as you will need to separate all the codes and place them on their respective pages .asp files. They are labeled, so do not get nervous; all codes are tested to ensure they work before going live on our site.


Enjoy.