?
Solved

Page Refresh

Posted on 2005-03-14
2
Medium Priority
?
181 Views
Last Modified: 2010-04-01
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?
0
Comment
Question by:srinivas_vemla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 375 total points
ID: 13542999
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
 

Author Comment

by:srinivas_vemla
ID: 13547660
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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
The Summer 2017 Scholarship Winners have been announced!
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question