PDA

View Full Version : Periodical updates with CGI



sean
12-07-2002, 06:22 PM
Remember the first chatrooms that used CGI? They'd update themselves automatically every 5-10 seconds or so. Does anyone know how exactly they do this?

OneStiffRod
12-07-2002, 09:35 PM
There is a META tag that allows you to refresh every so often but I believe that's new - there is also the javascript reload() function but if it's CGI it was most likely a Server Variable that allowed them to refresh the page or session every so many seconds.

sean
12-08-2002, 10:05 AM
I had one idea but I'm not sure if it works. I set up event handling to run some kind of refresh function that I write my self, every time the clock shows 10 seconds has passed. Can I do that?