I've built a Search Page with 5 properties to filter on. When a user clicks on one of the results the detail page is loaded. Now I want to provide a "Back" button so the user can go back to the Search Page with the original filter.
I was thinking about using TempData to store the filter model. Tempdata is stored in session for only one call so the session won't be bloated after a while.
Is there a better sollution or do you guys have some suggestions? Let me know!
Edit: The search page will make use of ajax calls to page, sort or filter the data. So all this data will need to be stored if I want to navigate back from the detail page. Is TempData the best way?