How do I get my page to remember user's last action?
<p>We have a search form which allows users to search for items on the page.</p>

<p>There is also another form with checkboxes that allows users to refine their searches with the hope of reducing the number of search results.</p>

<p>For instance, if I enter McCland on the search box and 13 results marching McCland are returned, I can click on <code>Advanced search</code> and a bunch of checkboxes are rendered.</p>

<p>I can then check <code>"Street"</code>, <code>"Road"</code>, <code>"LandMarks"</code>, etc. I can then click search on McCland again.</p>

<p>This time, only addresses with Street or Road or LandMarks will be displayed if available.</p>

<p>This works great.</p>

<p>Then there is a <code>Remember This Action</code> icon.</p>

<p>My biggest challenge so far is to allow users to click on this <code>Remember This Action</code> icon and save their current results.</p>

<p>This way, next time they visit the page, the results they searched for previously are presented to them unless they choose to search with another option.</p>

<p>If they click on this <code>Remember This Action</code> icon, they will be prompted with a message explaining that they are about to save their current Results.</p>

<p>They can click Yes to save or Cancel to not save.</p>

<p>I suspect this will be done with cookies(jquery or Javascriot) but I am not sure how to do this.</p>

<p>Any assistance is greatly appreciated.</p>
