Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

webservice.htc hangs IE5.5 during browser window close!

2 views
Skip to first unread message

Jeremy

unread,
Aug 15, 2002, 3:35:17 AM8/15/02
to
We are having problem with the webservice.htc (Version
1.0.1.1120) in IE (Version 5.50.4807.2300CO).

The problem occurs under the following conditions:
1. A new browser session is started
2. A second browser window that uses the webservice.htc is
created via window.open or target="_new" from the above
parent browser window.
3. The new window is closed quickly by the user while the
webservice is performing requests.
4. The user tries to open another window from the parent
browser window. This causes the new window to hang and can
only be fixed by destroying the whole IE session.

We have tried:
Modifying the behaviour such that when the container
window is closed the webservice.htc code iterates through
its XMLHTTP collection and calls the 'abort' method on
each object. Finally the code cycles through a secobnd
time and sets them to 'null'. We have found that if we
program in a delay after the objects are set to null then
the problem is cured. Unfortunately this work around is
unacceptable as windows take to long to close.

We would appreciate any help anyone can give us on this
matter...
.


Pete P.

unread,
Aug 15, 2002, 4:22:37 AM8/15/02
to
I've seen this problem before.

I used to work on a system (at Enron!!!) that tried to use
it's own simple XML messaging between browser & server
using the XMLHTTP object.

We got the idea from some MSDN article or something.

Could never figure out how to solve it...

>..
>
>
>.
>

Peter Rennie

unread,
Aug 16, 2002, 3:46:40 AM8/16/02
to

A problem can occur if xmlhttp is destroyed while
performing an async request that http connections to the
server are left open. You can quickly reach the limit of 2
or 4. Run netstat and look at your http connections when
the browser hangs.

Refer to

http://support.microsoft.com/default.aspx?scid=kb;
[LN];Q183110

This article describes the server connection limit which
is by design. There are also some registry settings
described there that you can tweak to allow more
connections to the server which will stop the browser
locking up while the hung http connections time out.

Hope this helps

Peter

>..
>
>
>.
>

0 new messages