How to load a new page on form submission?

asked Jan 28, 2013 in General by A007 (360 points)

I want to be able to load a new page when submitting a page and I want to use the previous page’s data in that next page and also in another page. Can anyone please give me any suggestions?

2 Answers

0 like 0 dislike
answered Jan 28, 2013 by TopNet (10,360 points)
You can  use either cookies or session variables to store the  temporary data. However,  the second page that you post the data to should have a hidden form containing all  the data it received from the previous page, and then it  will pass on to a third page.
0 like 0 dislike
answered Jan 28, 2013 by SmartHost (9,060 points)
Another option would be to store those needed items in a database, and then you can make the second page query for those values from the database itself.