Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

best way passing values between pages in this situation in same application

$
0
0

I have a web form with about 100ish inputs/variables, after a validation, with all that info, when page 'submitted' I display a summary/confirmation page where all the input can be viewed in a display format different from the web form page and user has 2 choices: accept as is or return to web form page to make any wanted changes, if accept as is, save all the info and go to page 3 to display a quick acknowledgement and give user an option to print a copy, so the question is best way to pass this somewhat large amount of data between pages, recognizing that 1 logic route is to essentially 're-display' the page 1 web form completely as it was before being submitted.

I know I can use session variables, or public property, or previous page (per http://msdn.microsoft.com/en-us/library/6c3yckfw(v=vs.80).aspx) not sure what might be better or best in this set of circumstances

so, need to pass all the page 1 info to page 2, if page 2 choice is to make changes need to go back to page 1, just as it was, to allow any changes just like when there the first time, so page 1 needs to remain 'intact', if choice is to accept go to a page 3 which needs access to all the data from page 1 for printing.

seems ideally to put info available to any successive page only once


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>