passing variables
Hi --
I'm trying to do something that I believe should be simple to do, yet it is giving me great difficulty.
I have a form that collects data from the user, dumps the information into an online database (salesforce.com) and then redirects to a confirmation page, informing the user their info has been received.
I would like for the user to be able to see that information on the re-direct page, as to confirm that the information has actually been deposited and they in fact are registered.
In the Form tag on the input page ACTION="thanksregistration.asp", which is the re-direct page. Input Type = "Text" and Name = "Contact_FirstName (for example)
I am trying to pass the input info onto the re-direct page. I have
declared a variable in the following manner:
<%
Dim strFirstName
strFirstName = Request.Form("Contact_FirstName")
Response.Write(" We Have you registered as :" )
Response.Write (strFirstName)
%>
As yopu can guess the variable is not being passed through, although the text, We Have you registered as: is being written.
What am I doing wrong?
Thanks very much for your help in advance.
Jack Levin
Web Master
Demantra, Inc.
|