Well, History is the recommended way to handle such situations. Since you cannot refresh the page, you cannot transfer data through POST.
One solution that comes to my mind is to store information in a variable window.name. This is a “forgotten” variable that has no restriction on its contents (IIRC) and is not cleared when you go to another website. You will probably have to write JSNI code, here are some links on this topic: link1 , link2 , Google for more;)
But you would do the same for the story - the only difference is that the user will not see, perhaps a long URL. But do you really need to remember all these values? This is understandable for moving between views within the application, but when the user moves away from the site and returns, he / she does not expect the values to be remembered (and this can be confusing and a possible security hole).
source
share