session variables

I want to store the input from a form in the form submit so that it can be used by the next page after a redirection. How do you do that in Drupal 7 please or can someone point me in the right direction? Thanks

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed