Sorry buddy it's 4.50 on a Friday, home time for me...
Run this in your browser I have placed some client side validation so your user can not proceed umless they have entered a value. Try to submit your form without entering a value to see what i mean
I would post this page to ITS SELF then:
1..based on user input ask the DB is there a record:
a..IF SO assign the ID to a session variable and redirect the user to where ever
b..IF NOT promt them 'sorry no details found, try again
so at the top od your page
<%
if request.form("cid") <> "" then
'connect to DB
'run query see if there is a match
'NOW ASSIGN SESSION VARIABLE
'direct them to where you want to go
else
'this is the default page load
end if
%>
Anyhow go to run, good luck
Wind is your friend
Matt
|