Use this free login script using asp and vbscript complete with database backend.
Password protect your site in minutes using this free application. Using
sessions and a database you can secure your pages easily.
Password Protection
This Login Script uses sessions. Basically what this means is that you are only
logged in as long as the browser remains open. You can log in and run
around all thru the protected area until you close the browser. This
method is excellent for intranets since people can access many different
computers during the course of the day.