title: Paging search results with asp.net MVC
body: <p>I have a situation that I couldn't find a solution for through my searches on here. Here is the scenario:</p>
  
  <p>I have a search form with 2 required fields and multiple optional ones. The form posts to an action method that determines which fields are selected and builds a List&lt;> of objects that match the search criteria. I then pass that List&lt;> to the view for display.</p>
  
  <p>This issue I am running into involves how paging is typically done with asp.net mvc. For past projects I have used a custom Html helper that creates links which include the query parameters as well as a "page" parameter. It then uses a GET request and the .Take().Skip() format.</p>
  
  <p>I've hit a wall on this project as I can't use a GET request for the search criteria and I can't figure out a way to keep the List&lt;> in memory to do the usual "page" parameter trick.</p>
  
  <p>I thought about storing the List&lt;> in the session but the objects and the list could be very large.</p>
  
  <p>I would think this is a popular issue with advanced search forms but I can't seem to find a good solution. Any help would be appreciated. Thanks!</p>