"Redirect" with form POST data possible?
Posted on 2004-08-25
I'm not sure if this is possible...
I have a FORM with POST data that I'm passing on to an ASPX script for further processing. I'd like to have the following sequence:
FormPage.htm --- POST--->WorkerPage.aspx --- "redirect" ---> DisplayInfo.aspx
The user inputs some data in the FormPage and presses submit. This posts data to the WorkerPage where some aspx processing takes place and some data is stored in the DB (or whatever) from SOME of the form data. Then it needs to automatically go to the DisplayInfo page where some stuff is displayed to the user for print or whatever.
The problem is the "redirect". I can get to the DisplayInfo page but none of the POST data from the form exists any longer. I don't know how to automatically fall into DisplayInfo from WorkerPage without a Redirect() call.
If I'm running down a rathole, please feel free to offer alternate suggestions. I want to do it this way (rather than in the FormPage) since there are multiple "FormPages" feeding into the WorkerPage. All need the same processing but I don't want multiple copies of the processing code in each of the FormPages.