I have been needing a way to, once I redirect to a PHP page to review data, have the ability go back to the original page with the fields filled as they were before redirecting. I can think of several messy ways of doing this but nothing I am willing to do. Is there a standard way of doing this?
+2
A:
Depending on the sensitivity of the data, you could store it in a session variable and check for the presence of POST or GET variables prior to falling back to the session variables when the form is being displayed.
You could obviously wrap the above up nicely, but I don't suspect there's an easier way around it if you're trying to keep the query string clean.
middaparka
2010-07-24 16:16:42