That is not done by the server at all. That is completely a function
of the client''s browser history.
In order for this to work properly the URL must be different so that a
new history item is created. There are other ways of handling this as
in DHTML History.
On Feb 4, 12:36 pm, Cheri Ruska
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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!
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---