[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Refreshing a document images

My site generates chart gifs on the fly and embeds them in HTML documents (using ASP pages). The problem is that users don't see updated charts unless they click on they refresh button on every page containing a chart. Other solution is to disable the browser's caching.
Both of the solutions are not good enough since they require manual intervension and generate extra load on the server since each page containing also lots of static images that doesn't have to be loaded again and again from the server.

Any other ideas ???

thanks,
Avi.
 
0
kavas
Asked:
kavas
  • 2
1 Solution
 
NickRackhamCommented:
Refresh the page every couple of minutes.

Insert the code below in the page that needs constantly updating. change the URL to that of the same page i.e if the path of your page is http://yourserver/page.htm 


<meta HTTP-EQUIV="Refresh" CONTENT="180; URL=http://yourserver/page.htm ">

The number 180 refers to the number of seconds before the page is refreshed.

Nick
0
 
NickRackhamCommented:
:o)
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now