Skip navigation
Currently Being Moderated

What is the best method to refresh display content (possibly push refresh)?

Apr 23, 2012 7:02 AM

Tags: #content #display #coldfusion #refresh #meta

We are using Coldfusion 9.0, and our issue is simple.  We were asked to make a few display screens to put up a schedule of events.  So we created a quick backend HTML publisher and made the client refresh every 30 seconds using meta refresh that displays the screen that is published.  Works wonderful.  A change is made, the screens update quickly in 30 seconds or less.

 

Over the weekend we had an update push out to the server that openend up a larger issue.  The update shut down the webserver temporarily and that caused the display to go to the standard site cannot be reached (diagnose connection, etc).  At that point the refresh is killed, the display screens are dead in the water until someone hits f-5.  That made us think that everytime we have anykind of blip, the screens will have to be touched.  This is a small project, we wanted something simple and we got it.  I'm concerned now we just created a techsupport monitoring situation unintentionally.

 

So that brings me to the real question.  What is the best practice to do this?  After doing a google search there seems to be all kinds of directions to go in.  I don't want a complex solution because the decision to not outsource was based on how quick of a project this was.  I am hoping to get some guidance on how to make a simple push of HTML to a screen in a Coldfusion environment.

 

Thanks in advance for any help offered.

 
Replies
  • Currently Being Moderated
    Apr 25, 2012 1:42 AM   in reply to Dolfan Alex

    A simple solution is to include meta tags to instruct the client browser not to cache the page.

     

    <HTML>

    <HEAD>

    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

    <META HTTP-EQUIV="Pragma"          CONTENT="no-cache">

    <META HTTP-EQUIV="Expires"          CONTENT="-1">

    </HEAD>

    <BODY>

    </BODY>

    </HTML>

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2012 5:38 AM   in reply to BKBK

    Regarding:  "A simple solution is to include meta tags to instruct the client browser not to cache the page"

     

    How will that solve the problem?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2012 7:08 AM   in reply to Dan Bracuk

    Dan Bracuk wrote:

     

    Regarding:  "A simple solution is to include meta tags to instruct the client browser not to cache the page"

     

    How will that solve the problem?

    Dollfan Alex said, "the display screens are dead in the water until someone hits f-5". I took that to imply the pages are cached.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2012 8:56 AM   in reply to Dolfan Alex

    Dolfan Alex wrote:

     

    If that was implied, I did not mean for that to be.  The sentence before explains that you are at the diagnose internet connection screen.  At that point, refresh no longer occurs, the content is not even on the screen to be cached.  Thanks for taking the time to respond.

    Ah, I see. Sounds to me like something for websockets. ColdFusion 10 implements websockets. Earlier versions of ColdFusion may use Nathan Mische's websocket gateway.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points