Remember search values from a previous search
I have a simple script which will make a search post where you are supposed to fill in some values in the search fields. When you put in the relevant values then the search will be executed. Ok, when I run this script again, all the search fields are empty and you have to fill in new values in the search fields in order to make a new search.
How can I make the script remember some values from the previous search, so you don't need to fill them in every time?