When you hit the back button on your browser, the page that is displayed is the data that was cached by your browser (unless you're doing something fancy) not a separate request to the server. Does that make sense?
Ian Serlin -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of liquid_rails Sent: Monday, February 04, 2008 9:43 AM To: SD Ruby Subject: [SDRuby] How can I get the server to retain search query results? When you search for a keyword on craigslist, a list of posts is returned. When you click on an individual post in that list, the full post is displayed. Then, when you press the back button on your browser, the results list is displayed again, without the server having to query again for the list of keywords. How can I get the server to remember search results without having to requery the database when the back button is pressed? Thanks! --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
