I have created a form which, once submitted, performs some actions on the site, and gathers the resulting data. I want to pass on the data to a results page.

So the question is, where can I store the data obtained within the _submit function so they can be passed on to the results page?

The return value for the _submit function is a path to the results page, but how to pass the actual data to that page?

Any ideas? thanks.

Comments

Fintan Darragh’s picture

You might find this function useful:
http://api.drupal.org/api/function/drupal_goto/5

You can send the user to a new page with a REQUEST which you have control over.