this is the code you need to look for...
select case Request.Form("Method_Type")
case "login"
select case ChkUser2(strDBNTFUserName, Request.Form("Password"))
case 1, 2, 3, 4
Call DoCookies(Request.Form("SavePassword"))
strLoginStatus = 1
case else
strLoginStatus = 0
end select
case "logout"
Call ClearCookies()
SQL = "DELETE FROM " & strTablePrefix & "ACTIVE_USERS WHERE " & strTablePrefix & "ACTIVE_USERS.UserID = '" & strDBNTUserName & "'"
my_conn.Execute SQL
end select
basically the form you fill out with the username and password have a hidden field that you can see if you view the source of this page. here is an example if you are logged in : <INPUT type="hidden" name="Method_Type" value="logout">
other then that its pretty easy, but it does call functions out of the inc_functions.asp and gets values from config.asp files so make sure to include them in your seprate login page.
Brad