I developed a widget that offer a full blown archive search tool, where the user can select various options that are joined into an objects to be passed to WP_Query in an ajax action that returns the results data via JSON.
10 results are sent back to the page so pagination is needed. A new request is sent every time the page is turned. More here http://bit.ly/O6tTr5
My question is: to decrease the request payload, I want that if the action is called after a page turn the information about the query is not sent but just the change page order is sent.
To achieve this i suppose the solution is to store the already sent query.
How is possible to do this?