title: "Remember" last three MySql queries; Cookie, passed variable or other method?
body: <p>I have a classified website, with pretty sophisticated searching, and I am about to implement a function where the last three queries is displayed for the user, so that the user can go back easier through the queries.
  This because for each query the user has to provide a lot of input.</p>
  
  <p>I have four questions for you:</p>
  
  <ol>
  <li>I wonder, how can I save the actual query (SELECT * FROM etc etc)...?</li>
  <li>Do I need to add some form of encryption to be on the safe side?</li>
  <li>How will this affect performance? (I don't like the fact that cookies slow websites down)</li>
  <li>Anything else to think about?</li>
  </ol>
  
  <p>If you need more input, let me know...</p>
  
  <p>Btw, the website is PHP based.</p>
  
  <p>Thanks</p>