Well I think you got me going on a good track of checking different HTTP headers and re-examining the example at http://empireenterprises.com/_comet.html

Unfortunately I still have no luck with IE with different headers, meta tags, regular tags, etc. I re-examined the example and saw that he's not printing javascript functions at all, but rather just JSON objects. JSON is useless unless it is evaluated, so I think that he is somehow actually accessing the innerHTML during page load in IE (unfortunately have not been able to contact him). His client code obviously does this but I have no idea how the server gets IE to work (I even tried the exact same headers and tags).

I tried a new test to see if the script may be executing but not interacting by setting a variable to the current Javascript time in each step, waiting two seconds, then setting again. The last time I used an alert() to print the values. Firefox - three different times, IE - same time.

The other major working example is here: http://meteorserver.org/

The code is much more complicated, but they also created a Perl server. I am not able to pick it apart enough to tell what is wrong with mine. Ugh - I thought for sure something would give me hope today.

In reply to Re^2: Streaming JS commands to IE with a Perl HTTP push server by freefall
in thread Streaming JS commands to IE with a Perl HTTP push server by freefall

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.