Back Button in the Browser: Values entered gone away!?

Hello,

I have a Web Application developed in R5, that is now being rendered by an ND 6.5 Server.

I have a Search Form redirecting the user to the results page using a ?SearchView Command.

If the application is being rendered by an R5 Server, pressing the Internet Explorer’s back button brings me back to the search form and the values I entered in the search form are there.

My Problem:

But, if the same application is being rendered by an ND 6.5 Server, pressing the IE’s back button brings me back to an empty search form!?!??

Why that? What can I do to preserve the values in the search form without rewriting part of the application (e.g. storing the search values in cookies)?

Thank you for your help.

Beate

Subject: Back Button in the Browser: Values entered gone away!?

I’m not sure, but could you pass the variables in the URL using Query_String? I know it works going forward, but never tried it using the back button.

Subject: RE: Back Button in the Browser: Values entered gone away!?

Hi Michael,

thanks for you response.

My problem is not passing values from one page to the other. Rather I do not understand the difference between R5 and ND6 - in R5, I enter values in a form, go to another page in the same application and return to the original page using history.go(-1) or the browser’s back button and the values I entered in the initial form are still there. In ND6 using the same code, the values I entered in the initial form are no longer there. The problem ist reproducable in different applications programmed using different techniques…

And this is the problem, I do not understand and I need a solution for without redesigning the applications…

Has it to do something with the caching that has been reworked in ND6?

Beate

Subject: Back Button in the Browser: Values entered gone away!?

Sure – use @SetHTTPHeader to change the cache-control and expires values. Just be prepared for duplicates, which expiring the form is designed to eliminate.