I'm making a php page that displays and processes a form (by submitting the form to the same page) Afterward processing, I want to redirect to a second page, and pass along the same parameters.
What's the best way to do the redirect?
I don't want the parameters to show up on the URL, so I didn't use header("location: nextPage.php?key=value...blah, blah).
After processing the data, I then created a table with hidden inputs, then did a automatic submit to the second page. But when I press Back button to return to the first page, I keep getting redirected back.
I'm considering using cookies now, since the same parameters will be passed along to several pages.
Any suggestions?