Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting a Form

Status
Not open for further replies.

emissions

Technical User
Mar 17, 2002
68
GB
I need a form to submit itself, to two locations. Firstly to a cgi script, which adds the information to a online database, and the second to carry the same information to a second page for more information to be added.

Thanks in Advanced
 
Submit to an itermediate page that collects the data assigns it to a session variable then do ya cgi stuff and then on to your second page.

Cheech

[Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Create a page called process.asp with no html in it.

on this page assign the form values to session variables eg:

Session("Sess1")= Request.Form("Var1")

Repeat this for each form value, then just send the session values to your cgi script and use agin on your second page eg, in a form:
Code:
<input name=&quot;textfield&quot; type=&quot;text&quot; value=&quot;<%= Session(&quot;Sess1&quot;) %>&quot;>
etc...

Make sense?

Cheech

[Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top