Not really sure what you want to do but I just made a Login page. The receiving page has to be .ASP
On your login page in the form have two text boxes and a Submit button.
I called my text boxes Login and Password.
here is the form code for that.
-----------------------------------
Code:
<form action="page_your_calling.asp" method=get>
<p align="center"><font size="5">Test Login Form</font></p>
<p align="center"> Login <input type="text" name="login" size="20"></p>
<p align="center">Password <input type="text" name="password" size="20"></p>
<p align="center"><input type="submit" value="Submit" name="LoginButton"><input type="reset" value="Reset" name="B2">
</p>
</form>
-------------------------------
On the recieving page here is the code to check the login in SQL database.
---------------------------------
'the request.querystring("login"

is the exact same name as the text box on the previous pages form.
Code:
<%login=request.querystring("login")%>
<%pass=request.querystring("password")%>
<br>
<%
Set Conn = server.CreateObject("ADODB.Connection")
Conn.Open "driver=SQL Server;server=yourserver.com;uid=yyyy;pwd=xxx;database=yourdatabase;"
Set RS1 = Conn.Execute("SELECT * From Customers Where [WEBLogin] = '" & login & "' AND [WEBPassword] ='" & pass & "'")
<%
If Not RS1.EOF Then%>
' Now if the have a vaild login then do what ever here
<%Else
' have a link to take them back and try again
Response.Write("Sorry Invalid Login")%>
<a href="login.asp">Retry Login</a>
<%Response.Write("Or Call whoever at 1-999-999-9999 for a Login")
End If
%>
---------------------------------------------------
The following is passed in the Address from the first page to the second when thye click the submit button.
------------------
-----------------------
Which is simply the name of the .ASP you are calling and a ? mark and the exact names of the textboxes
then = sign then what was keyed in the textbox then & ampersand and the next textbox and so forth.
The login in button name is passed but I'm not doing anything with it.
B-)
[sig]<p>DougP, MCP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.[/sig]