"Remember" last three MySql queries; Cookie, passed variable or other method?
        Posted  
        
            by Camran
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Camran
        
        
        
        Published on 2010-05-13T09:26:57Z
        Indexed on 
            2010/05/13
            9:34 UTC
        
        
        Read the original article
        Hit count: 193
        
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.
I have four questions for you:
- I wonder, how can I save the actual query (SELECT * FROM etc etc)...?
- Do I need to add some form of encryption to be on the safe side?
- How will this affect performance? (I don't like the fact that cookies slow websites down)
- Anything else to think about?
If you need more input, let me know...
Btw, the website is PHP based.
Thanks
© Stack Overflow or respective owner