Re: Memory leak in IE javascript with webservice.htc
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 09/27/04
- Next message: Hutty: "Format Data Column"
- Previous message: bruce barker: "Re: How do I not display file extensions?"
- In reply to: Chris Bardon: "Memory leak in IE javascript with webservice.htc"
- Next in thread: Chris Bardon: "Re: Memory leak in IE javascript with webservice.htc"
- Reply: Chris Bardon: "Re: Memory leak in IE javascript with webservice.htc"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 12:59:19 -0700
IE has lots of memory leaks, not surprising that that there is a leak
calling xmlhttp. I doubt that any fix will be coming, as the soap behavior
calls for increased security settings with xp-sp2. switch to the standard
hidden frame approach for IE, and save soap calls for mozilla/netscape which
have it in.
-- bruce (sqlwork.com)
"Chris Bardon" <cmbardon@engmail.uwaterloo.ca> wrote in message
news:5c2b81.0409271111.60bc555d@posting.google.com...
> I'm working on an application where I need to be able to call a .net
> web service from javascript. I found the webservice.htc file, and was
> able to create a page that worked just fine, except that the memory
> usage of iexplore.exe began to increase without limit as the service
> was called. To demonstrate this, I tried the following script, which
> showed the increase very quickly by continuously calling the service.
> Since useService is the only method being called, this is likely where
> the problem lies. Is there a fix for this problem yet?
>
> Thanks,
>
> Chris
>
>
> <html>
> <head>
> <script language="JavaScript">
>
> function init()
> {
> service.useService("http://testServer/testcti/service1.asmx?WSDL","Test");
> call();
> }
>
> function call()
> {
> service.TestCTI.callService("AgentEventWait",1000,100,"ice1");
> }
>
> function onWSresult()
> {
> call();
> }
> </script>
> </head>
> <body onload="init()">
> <div id="service" style="behavior:url(webservice.htc)"
> onresult="onWSresult()">
> </div>
> </body>
> </html>
- Next message: Hutty: "Format Data Column"
- Previous message: bruce barker: "Re: How do I not display file extensions?"
- In reply to: Chris Bardon: "Memory leak in IE javascript with webservice.htc"
- Next in thread: Chris Bardon: "Re: Memory leak in IE javascript with webservice.htc"
- Reply: Chris Bardon: "Re: Memory leak in IE javascript with webservice.htc"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|