The Coldfusion Open Source Forums
Home | ImageCFC | CFFM | BlogCFM | CFMBB | CFOpenMail / ImapCFC | CFOpenChat
Forums | Profile | Inbox | Members | Chat | Search | Login | RSS
Vivio Technologies CFML Hosting
New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page

Forums: CFOpenChat Forum: IE problems
Created on: 10/12/09 {ts '2013-05-24 15:21:00'} Views: 8688 Replies: 6
IE problems
Posted Monday, October 12, 2009 at {ts '2013-05-24 15:21:00'}

Thanks for answering my question last week about max users. I got the chat set up on my website and even fuseboxed it. It works great in Firefox. However, it does not work in IE. I went back to try the demo again, and it doesn't work in IE either. The chat window does not refresh (unless it's a / command). And intermittently it seems that when a new person enters, the existing user in IE is kicked out.

Is this a known bug?

RE: IE problems
Posted Monday, October 12, 2009 at {ts '2013-05-24 16:41:00'}

Followup: Seems to only be IE 8.

RE: IE problems
Posted Monday, October 12, 2009 at {ts '2013-05-24 18:02:00'}

Definately wasn't known...

Looks like when you join the chat, it calls chatInit then calls getUpdates twice, but then no more.

After a bit of investigation (using an http sniffer for IE called Fiddler), I realized that it only made the ajx call to cfopenchat_interface.cfm?action=getupdates TWICE, and then stopped. But why? The debug panel showed that it was calling it as it should, the timer was working.

CACHE.

Apparently, the cache in IE8 is too smart for its own good.

There are two solutions, and I'm implementing BOTH. The easiest for you to add to your existing code is this...

Open up cfopenchat_interface.cfm. you'll find four instances of this:

   <cfcontent type="text/plain" reset="yes">

After each one, place the following three lines:

   
   <cfheader name="expires" value="#now()#">
   <cfheader name="pragma" value="no-cache">
   <cfheader name="cache-control" value="no-cache, no-store, must-revalidate">

I'm also modifying cfopenchat.js to add a unix-style epoch timestamp to each URL called with getJSON()

These changes are in subversion now, and will be uploaded as release 1.11 momentarily.

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www
RE: IE problems
Posted Tuesday, October 13, 2009 at {ts '2013-05-24 11:06:00'}

Rick, Thanks for taking a look at that so quickly. I've implemented the changes and everything is working great now. I'm just learning jQuery and I've already learned a lot by looking at your code, but it would've taken forever to figure out this IE nonsense on my own.

Thanks again!

RE: IE problems
Posted Tuesday, October 13, 2009 at {ts '2013-05-24 11:12:00'}

Yeah, Fiddler is REALLY helpful if you have to debug things in IE, because it allows you to really see what requests are being made to the server, and what the servers response is. Firebug gives you that for Firefox, of course...

http://www.fiddler2.com/fiddler2/

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www
RE: IE problems
Posted Thursday, October 15, 2009 at {ts '2013-05-24 21:05:00'}

This appears to be isolated to Windows 7 and IE 8 only...I may be wrong here...I'm running Vista and IE8 with no problems, yet my partner is running Windows 7 and IE8 and having problems with the the chat module. Ricks solutions fixed it it perfectly.....thank you!!!

RE: IE problems
Posted Friday, October 16, 2009 at {ts '2013-05-24 06:29:00'}

dannoparker wrote:

This appears to be isolated to Windows 7 and IE 8 only...I may be wrong here...I'm running Vista and IE8 with no problems, yet my partner is running Windows 7 and IE8 and having problems with the the chat module. Ricks solutions fixed it it perfectly.....thank you!!!

I'm running XP still so it was a problem on XP with IE8 too. Interesting that it worked on Vista with IE8 though.

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www

New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page
Subscription Options
Subscription options are available after you log in.

There are 36 active user sessions right now.