Mello
<!--
Hi Houston
I would write a simple redirection function at the very top of the
form.asp (my form name - don't know yours) page thus-->
<script Language="VbScr ipt">
<!--
myName = "<%=request("In putName")%>"
function goConfirm()
document.locati on.href="confir mation.asp?name =" & MyName & ""
end function
-->
</script>
<!--We will call this later after saving the data using the onLoad event
of the body tag-->
<!-- I'm creating another variable here which I will use later to see if
the form has been posted or not.-->
<%
task = request("task")
%>
<!-- now for the form-->
<html>
<head><title> </title></head>
<body>
<!-- The task variable and its value are passed here-->
<form name="form1" method="post" action="form.as p?task=doit">
<table>
<tr><td>Name: </td><td><input type="text" name="InputName "
width=25></td></tr>
<tr><td colspan="2"><ce nter><input type="submit"
value="go"></center></td></tr>
</form>
</table>
</body>
</html>
<!-- Now check if the form was posted using the task variable-->
<%
IF task ="doit" THEN
''''' POPULATE VARIABLES FROM YOUR FORM FIELDS
myName = request("InputN ame") ''''' etc, etc
''''' OPEN YOUR DATA CONNECTION
''''' DO YOUR DATA SAVE WITH USUAL SQL QUERIES
''''' CLOSE YOUR DATA CONNECTION
''''' THEN CALL THE REDIRECT FUNCTION THAT WE WROTE THUS...
%>
<body onLoad="goConfi rm()">
<%
END IF
%>
<!-- You will be able to capture the name value using the simple line
myName = request("name") just as you did before
Hope this helps -->
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!