Back link implementation question/problem

Implementation question:

I’m developing an app that does the following:

  1. Presents a query screen.

  2. In response to the user-entered data on the query screen, the app
    queries the database and returns a list of the matching records with a
    “Show” link associated with each record in the list.

  3. When the user clicks the Show link for one the the items in the
    list, a detail view is presented, with an ‘edit’ link and ‘back’ link.

  4. If the user clicks the ‘back’ link, the app receives the request as
    a query screen response but without any of the user-entered data
    associated with a query request. Consequently, the resultant view has
    no list of matching records.

What I want to happen is the view to contain the original list (as in
#2 above).

I’m lost at how to do this. Is there a way to “save” the user-entered
data to reissue the query? Can the data be somehow “stored” in the
list view html, so it’s returned when the back link is clicked?

Thanks,
Jeff

On Jan 11, 8:58pm, Jeff [email protected] wrote:

I’m lost at how to do this. Is there a way to “save” the user-entered
data to reissue the query? Can the data be somehow “stored” in the
list view html, so it’s returned when the back link is clicked?

Is your search form posting rather than getting? Change it from a post
to a get will probably fix things (since search parameters will then
be part of url) and is probably semantically better too.

Fred