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?
srinivas_vemlaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimYatesCommented:
Is this the same as http:/Q_21345917.html ?

As I said over there, you need to change:

>>actiivtyList.jsp ..based on selection gets posted to IndexStep3.jsp

to:

activityList,jsp gets posted to DoTheUpdate.jsp (which processes the posted data), which then redirects the browser to IndexStep3.jsp to show the current status...

The user will not be able to go "Back" to DoTheUpdate.jsp

And therefore you shouldn't get this problem...

Tim
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
srinivas_vemlaAuthor Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JSP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.