Retaining Table Values on Back Button

Hello all,

I have two forms. One is a search bar, which takes in keywords and populates values from the database. There’s one row called update which links to another page to update the values of that particular row. Now I have a back button to go back to the previous page but I am not able to retain the values I populated from the table. How do I do it?

One way is to open a new tab or window, but that’s like a temporary work around. I am in search of a concrete solution.

Any help would be greatly appreciated. Thank You.

I guess what you want is to “remember” the search bar value so when you go back to that page, you can re-retrieve the database values and populate the page based on the search bar value?

You can do that by adding the search bar value in the query string of the back button link. Or by storing the search bar value in a session variable.