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="VbScript">
<!--
myName = "<%=request("InputName")%>"
function goConfirm()
document.location.href="confirmation.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.asp?task=doit">
<table>
<tr><td>Name:</td><td><input type="text" name="InputName"
width=25></td></tr>
<tr><td colspan="2"><center><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("InputName") ''''' 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="goConfirm()">
<%
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!