<% Response.Buffer=true 'The following three lines of code are used to ensure that this page is not cached on the client. Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "no-cache" Response.Expires = -1 'Check whether user has submitted user name and password so that you can 'add that user to the users database and register him or her as a valid 'user to use this application. 'This is just the minimal code that you need. You can customize this the way you want. Dim pwd Dim userid userid = Request.Form("UID") pwd = Request.Form("pwd") If userid = "admin" then If pwd = "minerva123" then Session("UID")= userid Response.Redirect "transactions.asp" Response.End Else Response.Redirect "Default.asp" Response.End End if End if %>