I am trying to find out the best possible way to save the POST data in session and making it available in different page requests.
For example at website's homepage I have a Search form with different fields. On Submitting the form a product's page is displayed containing a list of all product matching the search criteria.
On selecting a product product's detail page is loaded. and on Detail page we have a back link to the Product's list page. on clicking the link, I am interested that the controller should load only the product depending on the search parameters. This means that maybe the search criteria will be saved in Session and on coming back to List or Search page these parameters will be loaded again from Session.
Is there any Best Practices or Design pattern available to to and load the Search Form fields?