Link to home
Start Free TrialLog in
Avatar of srinivas_vemla
srinivas_vemla

asked on

Page Refresh

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?
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of srinivas_vemla
srinivas_vemla

ASKER

Hi Tim,

Yes, it is the same question. But I want to refresh a page within IndexStep3.jsp. Nothing to do with activityList.jsp
IndexStep3.jsp is a page with frames and one of the pages pdfPreview.jsp has information which needs to be refreshed. The user modifies data on pdfPreview.jsp which gets updated immediately.  I will try going from pdfPreview.jsp to some other page. Do the processing and redirect to pdfPreview again. Tubelight. That thing didnt strike me earlier. D'oh. Will let you know .

Thanks.