Posted on 2005-03-14
I have the following flow:
actiivtyList.jsp ..based on selection gets posted to IndexStep3.jsp
IndexStep3.jsp has information that gets updated as per user's selection. This page immediately shows the update.
However, if I go to some other page from here and come back, the update which used to show earlier is not reflected.
IndexStep3.jsp has frames and the update problem is an issue with one of the pages.
IndexStep3.jsp is the page where I added:
response.setDateHeader( "Expires", 0 );
response.setHeader( "Cache-Control", "no-store, no-cache" );
response.addHeader( "Cache-Control", "post-check=0, pre-check=0" );
response.setHeader( "Pragma", "no-cache" );
I get the "page refresh warning" but it does what it is supposed to do..reflect the current state. But for user experience, I dont want to show the warning. Is there a way I can refresh this page without the user being aware of it?