Looking through this board, it appears to be a problem in Linux too but not Win. It's working for me in Win, but on Mac NN 4.75, I dont get any of the chat messages -displayed-, but they are updated in the MySQL tables. Logged in to the chat in IE, I can see my NN self chatting away also. In NN, if I view the source of the messages frame, I do see the doc.write statements in there with my messages, but they are never displayed in the browser until I hit the back button, and then for a fleeting second, I see all the missed messages. (I guess NN is closing the stream then.)
I *think* I've pinpointed this problem to NN wanting the stream to be closed before displaying the write() statements... (Perhaps this is proper JS and IE and others are forgiving?) I tried adding a document.close() to the messages window after it's finished the write commands, but it never works to even display the first bunch of messages, and then subsequent write()s don't append, but clear the entire pane... Someone better than me might be able to hack a constant stream in JS for NN tho.
On the server-side, I'm using php 4.0.4pl1, Linux 6.1 and Apache 1.3.20.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-11-01
Redhat 6.1 that is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking through this board, it appears to be a problem in Linux too but not Win. It's working for me in Win, but on Mac NN 4.75, I dont get any of the chat messages -displayed-, but they are updated in the MySQL tables. Logged in to the chat in IE, I can see my NN self chatting away also. In NN, if I view the source of the messages frame, I do see the doc.write statements in there with my messages, but they are never displayed in the browser until I hit the back button, and then for a fleeting second, I see all the missed messages. (I guess NN is closing the stream then.)
I *think* I've pinpointed this problem to NN wanting the stream to be closed before displaying the write() statements... (Perhaps this is proper JS and IE and others are forgiving?) I tried adding a document.close() to the messages window after it's finished the write commands, but it never works to even display the first bunch of messages, and then subsequent write()s don't append, but clear the entire pane... Someone better than me might be able to hack a constant stream in JS for NN tho.
On the server-side, I'm using php 4.0.4pl1, Linux 6.1 and Apache 1.3.20.
Redhat 6.1 that is.