I'm retrieving some data into a JSON array, then display it into an HTML table which contains some data enclosed within hyper links. i.e. a couple of the columns' data are clickable, once clicked it displays another JSP page (say page #2) with some more data which was kept on the JSON array itself. 

Now this page 2 has a 'Back' button functionality - the expected behavior is when user clicks the 'Back' button it should go back to page 1 where the HTML table data was displayed and user should be able to see the data which they first fetched too. i.e. there should be some way to remember the data fetched from my initial AJAX request and retrieve the same data which user fetched in page 1 when they go back to that page from the child page#2.

Th AJAX call is triggered when user enters an account# and the type of account - I fetch data accordingly and get the result in the 'response' object and neatly display it on html table, but after user moves from that page and again hits the back button I see the page#1 without the table. Now again I cannot ask the user to re-enter the details to see the data that they retrieved earlier. It's pretty annoying. 

Please give me a solution to this problem. Thanks All.

Appreciate for taking time to read this.

Here's a part of the code:

```
$(document).ready(function () {
    var flag = "1";

    $('#accountType').bind('change', function (event) {

        var accountType = $('#accountTypeSelect').val();
        var account = $('#accountText').val();

        jQuery.ajax({
            type: 'POST',
            url: '${pageContext.request.contextPath}' + "/Page1.spr", //request page
            cache: false,
            dataType: "json",
            data: {
                "accountType": accountType,
                "account": account,
                "flag": flag
            }, //data sent to request page    
            success: function (response) {
                // code to display the data into the html table
            },

            error: (function (message) {
                console.log("error message : " + message);
            }),

            statusCode: {
                404: function () {
                    alert("page not found");
                }
            }
        });
    });

```