• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

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

Explorer ,
Apr 23, 2012 Apr 23, 2012

Copy link to clipboard

Copied

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.

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Apr 25, 2012 Apr 25, 2012

Thank you for your replies.  I think we are going to depend on the network being stable and organize updates to the server during times we can monitor the screens.  After researching the issue we found it to be a little more deeper than at first glance.  We found this which is a good lead if we need to go another direction, or someone else has a similar issue: http://en.wikipedia.org/wiki/Comet_(programming)

Votes

Translate

Translate
Community Expert ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

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>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

Thank you for your replies.  I think we are going to depend on the network being stable and organize updates to the server during times we can monitor the screens.  After researching the issue we found it to be a little more deeper than at first glance.  We found this which is a good lead if we need to go another direction, or someone else has a similar issue: http://en.wikipedia.org/wiki/Comet_(programming)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation