LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2003, 11:28 AM   #1
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
HTML Dynamic Webpage refreshing ?


Hi,

I am trying to create a webpage that displays events, and from time to time the webpage is updated. When it is updated I want it to automatically update all the clients viewing the webpage with a refresh, but only when it is updated.

I know I can add this into the header of the webpage "<META HTTP-EQUIV=Refresh CONTENT=30>", and the clients will update every 30 seconds, but this is not efficient in my opinion.

All suggestions are welcome.
 
Old 10-13-2003, 11:43 AM   #2
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Maybe here > http://www.webmasterworld.com you'll get more answers
 
Old 10-13-2003, 01:09 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Unfortuneately you can't do a server push like that from http. I can offer you 2 possible solutions though:
1) Create a small or invisible Iframe that will update every so often then update the other frame when a change is made.
2) Use a Java Applet that can have constant communication with the server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 10 05-11-2018 11:28 AM
Stopping a webpage from refreshing? oulevon Programming 2 05-10-2004 03:07 PM
Samba Refreshing Equis Linux - General 1 02-12-2004 10:19 AM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM
renew/refreshing ip??? jcabral3 Linux - Newbie 1 12-09-2002 11:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration