Save user entries between pages

shahab

Junior Contributor
Joined
Aug 14, 2003
Messages
206
Location
Iran(Middle East)
I have 5 webForm and i want to send the user entries to the 5th
Webform.
I mean that info from the first page to the 4th one must save temporarily then i shoud show the to user for final acception..
How should I do that?
tnx
 
You can either post the values of the form or use a querystring. However, consider using one page and use panels to separate your forms, then postback to the same page.
 
"you can pass values from 1 page to another using Server.Transfer."
I know that guy but here is four pages not one!
How can I send four pages concurrently?
 
Sorry I shoud notice that these 5 webForm must execute in a special system(arrangment)!!
1-2-3-4 then 5 .User enters some info step by step then he will
get a report of what he had enterd!(philosophy of work)
:-\ :D
 
Here are your options to send data between pages, some are more feasible than others, but still an option, anybody else feel free to add/amend. Depending on your application, you choose the appropriate one.

1. Post a form
2. Response.Redirect w/ querystrings
3. Server.Transfer
4. Cookies
5. Session variables
6. Store data in database
 
form1.aspx

<form action="form2.aspx" method="post">
<input type=text name=Text1>
<input type=submit
</form>

form2.aspx

Dim strText1 As String = Request.Form("Text1")
 
Back
Top