• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Recurrent timeouts on IE6 fix on 11?

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
7 posts • Page 1 of 1

Postby bcc » Tue Jul 03, 2007 10:23 am

I checked the diffs for timeouts fix for beta 11 and saw that you removed some of the code that was added earlier specifically to deal with IE problems.

Was it fixed some other way or has it been simply rolled back to sending requests over and over if the server is not responding?

In other words, is it safe to use 11 with IE6 on a bad/slow connection?
bcc
Member
 
Posts: 54
Joined: Wed Mar 08, 2006 4:09 am
Top

Postby phpfreechat » Tue Jul 03, 2007 10:51 am

Humm I think I removed the code too fast. It's right that if the server is down it will send a lot of request to the server. I should work on it and maybe look at "onSuccess" and "onFailure" prototype.Ajax callbacks to deals with these cases.
For the slow connexion problem, I think I have to rollback the modifications I removed.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby bcc » Tue Jul 03, 2007 4:02 pm

If someone reported the timeout even with that code, it means not sending any more requests doesn't help.

I don't know much about the internals of the chat, but maybe it would help to have a global synchronization lock to assure that tere is only one request at a time and an internal timer that would abort the request if it's been over some specified amount of time. After that, the state of the client would be fixed up (if needed) and the new request would be sent out as if the previous one never happened.
bcc
Member
 
Posts: 54
Joined: Wed Mar 08, 2006 4:09 am
Top

Postby phpfreechat » Tue Jul 03, 2007 5:19 pm

I don't know if it's achievable with prototype library but if it is I agree it's the good manner.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby phpfreechat » Fri Sep 07, 2007 5:46 pm

I commited a simplified version of ajax request handling:
The periodical "/update" command will not be executed if the latest ajax request is not completed (failure or success).

Feel free to give me your feedback.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Booner » Sat Dec 08, 2007 11:05 pm

I am running phpfreechat-1.0-final and IE 7.x is still having time out problems. By version 11 do you both mean that there is more recent version that the one I am using?

Thanks for any insights!

- Booner

( I hate working for Bill the Borg. His pay scale sucks. :) )

Update Dec 21/07: The IE time out issue seems to have been rectified by adding the following to index.php's param listing; as suggested elsewhere in this forum:

$params["timeout"] = 60000;
Last edited by Booner on Fri Dec 21, 2007 10:41 pm, edited 1 time in total.
Booner
New member
 
Posts: 4
Joined: Tue Dec 04, 2007 8:22 pm
Top

Postby Moonbase » Fri Feb 01, 2008 1:46 am

I'm currently using 1.0-final rev. 1222 (from svn) and I still see timeouts on IE6 clients. Unfortunately, they time out but the "connect" button doesn't change so they can't reconnect without pressing F5 and reloading the chat.

I will try your suggestion of a 60s timeout.
Moonbase
Member
 
Posts: 15
Joined: Tue Jan 29, 2008 4:36 pm
Top


Post a reply
7 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 20 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub