Closed Thread Icon

Topic awaiting preservation: Testing a new sig rotator Pages that link to <a href="https://ozoneasylum.com/backlink?for=29964" title="Pages that link to Topic awaiting preservation: Testing a new sig rotator" rel="nofollow" >Topic awaiting preservation: Testing a new sig rotator\

 
Author Thread
argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 02-05-2008 15:58

As a standalone image, it works. Am wondering how it works "live" when embedded into some html
(in recent browsers I mean, since they are more Ajax aware than back when I was young).



EDIT : Ok, it fails. The idea here is to use the "refresh" meta header to force an image source refresh, which *should* work given some client side script.
Will make some other tests when I have more free time.

(Edited by argo navis on 02-05-2008 16:01)

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 02-05-2008 16:12

I doubt a refresh header will cut it.

OTOH serving the image(s) using the Content-Type multipart/x-mixed-replace should work.

argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 02-05-2008 16:41

Coolness, thank you. Guess that's what "comet" is all about.

An excellent link and tutorial, as I ponder the feasibility of this thing in terms of server resources (and check if there is such a thing as "php threading" -
since the timeout between each image refresh would be very long (20, 30 seconds), it may be possible without jamming up server resources too much).

http://www.xulplanet.com/tutorials/mozsdk/serverpush.php

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 02-05-2008 17:28

there is no 'php threading' - but calling php->sleep() is most likely just a forword of the call to the
c function of the same name, and that should let the shedulder do it's magic.

« BackwardsOnwards »

Show Forum Drop Down Menu