473,761 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ajax and IE crash

I have run into a situation that if a page/tab that uses the Ajax toolkit
(using .net version 3.5) is closed before the Ajax enable controls complete
loading, then IE locks up. Does it in both IE7 and IE8. There is no issue
when the controls are allowed to complete loading.

Can you please tell me the best practice that handles this?

Thanks.
Sep 19 '08
11 3050
Hi,

Please also help to submit a feedback on the connect:
http://connect.microsoft.com/VisualStudio/Feedback

This will let our development team get noticed and know this issue is
discovered by the customer.

Thanks again,
Allen Chen
Microsoft Online Support
--------------------
| Thread-Topic: Ajax and IE crash
| thread-index: Ackf8RIsghnxcRG jRZKgr2v7ZbKsAQ ==
| X-WBNR-Posting-Host: 65.55.21.8
| From: =?Utf-8?B?R2VyaGFyZA= =?= <Ge*****@commun ity.nospam>
| References: <B2************ *************** *******@microso ft.com>
<bJ************ **@TK2MSFTNGHUB 02.phx.gbl>
<7B************ *************** *******@microso ft.com>
<PN************ **@TK2MSFTNGHUB 02.phx.gbl>
<59************ *************** *******@microso ft.com>
<pW************ **@TK2MSFTNGHUB 02.phx.gbl>
<75************ *************** *******@microso ft.com>
<0J************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: RE: Ajax and IE crash
| Date: Fri, 26 Sep 2008 09:01:00 -0700
| Lines: 305
| Message-ID: <31************ *************** *******@microso ft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Path: TK2MSFTNGHUB02. phx.gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7680 8
| NNTP-Posting-Host: tk2msftibfm01.p hx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Thanks for your help. Hopefully, this will get fixed so the extra coding
| will not be needed in the future.
|
| "Allen Chen [MSFT]" wrote:
|
| Hi,
| >
| I've used Network Monitor to track the http traffic. It looks like IE
will
| not send new requests to the same domain when the hang happens. What I
can
| guess so far is, IE somehow doesn't know the connection should be
closed if
| a user manually interrupts the AJAX request by closing the tab. By
default,
| as you may know, IE only allows two subsequent connections to one
domain.
| >
| I've contacted our development team for a confirmation about this
issue.
| They may need some time to come to a final conclusion. I'll follow up
and
| update here.
| >
| As to your workaround, it's really good. Try to use it temporarily and
| let's wait for the conclusion.
| >
| Regards,
| Allen Chen
| Microsoft Online Community Support
| >
| --------------------
| | Thread-Topic: Ajax and IE crash
| | thread-index: AckdkxARCW/igerJRUihe+AxC6 QFmA==
| | X-WBNR-Posting-Host: 65.55.10.15
| | From: =?Utf-8?B?R2VyaGFyZA= =?= <Ge*****@commun ity.nospam>
| | References: <B2************ *************** *******@microso ft.com>
| <bJ************ **@TK2MSFTNGHUB 02.phx.gbl>
| <7B************ *************** *******@microso ft.com>
| <PN************ **@TK2MSFTNGHUB 02.phx.gbl>
| <59************ *************** *******@microso ft.com>
| <pW************ **@TK2MSFTNGHUB 02.phx.gbl>
| | Subject: RE: Ajax and IE crash
| | Date: Tue, 23 Sep 2008 08:43:02 -0700
| | Lines: 232
| | Message-ID: <75************ *************** *******@microso ft.com>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | Path: TK2MSFTNGHUB02. phx.gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7660 3
| | NNTP-Posting-Host: tk2msftibfm01.p hx.gbl 10.40.244.149
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Thanks. I'm glad you were able to duplicate it, gives me hope it
will be
| | fixed.
| |
| | Note, this is also an issue with Ajax without using the toolbox.
Maybe
| an
| | issue with ScriptManager?
| |
| | The only work around I have come up with is to trap the
| | window.onbefore unload in javascript and at least give the user the
option
| of
| | keeping the page open, with a warning that strange things may occur
if he
| | doesn't. This involves a lot of extra coding though, so it would be
good
| if
| | it got fixed at the source.
| |
| |
| |
| | "Allen Chen [MSFT]" wrote:
| |
| | Hi
| | >
| | Thank you for your project. I've reproduced this issue on my side.
It
| looks
| | more like an IE issue than an AJAX Toolkit issue. I'm now
investigating
| it
| | and will get back to you if I find the culprit.
| | >
| | Regards,
| | Allen Chen
| | Microsoft Online Support
| | --------------------
| | | Thread-Topic: Ajax and IE crash
| | | thread-index: Ackad3ofCR4eWZp 6SIul7j+V8Jziig ==
| | | X-WBNR-Posting-Host: 65.55.21.8
| | | From: =?Utf-8?B?R2VyaGFyZA= =?= <Ge*****@commun ity.nospam>
| | | References: <B2************ *************** *******@microso ft.com>
| | <bJ************ **@TK2MSFTNGHUB 02.phx.gbl>
| | <7B************ *************** *******@microso ft.com>
| | <PN************ **@TK2MSFTNGHUB 02.phx.gbl>
| | | Subject: RE: Ajax and IE crash
| | | Date: Fri, 19 Sep 2008 09:48:00 -0700
| | | Lines: 158
| | | Message-ID: <59************ *************** *******@microso ft.com>
| | | MIME-Version: 1.0
| | | Content-Type: text/plain;
| | | charset="Utf-8"
| | | Content-Transfer-Encoding: 7bit
| | | X-Newsreader: Microsoft CDO for Windows 2000
| | | Content-Class: urn:content-classes:message
| | | Importance: normal
| | | Priority: normal
| | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | Path: TK2MSFTNGHUB02. phx.gbl
| | | Xref: TK2MSFTNGHUB02. phx.gbl
| | microsoft.publi c.dotnet.framew ork.aspnet:7640 6
| | | NNTP-Posting-Host: tk2msftibfm01.p hx.gbl 10.40.244.149
| | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | |
| | | Here is a link to a project that duplicates the issue:
| | | http://www.criminonwus.org/IECrashTest.zip
| | |
| | | If you click on the link on the default page, it opens a new
| window/tab.
| | If
| | | you close that window/tab before the drop down lists populate and
| then
| | click
| | | on the link on the default page again, it hangs up (sometimes you
| have to
| | do
| | | this a couple of time). If you try to refresh the default page,
it
| also
| | | hangs up.
| | |
| | | Seems like it shouldn't do this. Any ideas of how to get around
this?
| | |
| | | Thanks.
| | |
| | | "Allen Chen [MSFT]" wrote:
| | |
| | | Hi
| | | I tested this page:
| | | >
| | | >
| | >
| >
http://www.asp.net/ajax/ajaxcontrolt...opDown/Cascadi
| | | ngDropDown.aspx
| | | It seems fine. Can you repro this behavior with that page?
| | | >
| | | I look forward to your demo project and will test on it.
| | | >
| | | Regards,
| | | Allen Chen
| | | Microsoft Online Support
| | | >
| | | --------------------
| | | | Thread-Topic: Ajax and IE crash
| | | | thread-index: AckaDd1yVQMXiQ6 dTHC8+cAlR/PzeQ==
| | | | X-WBNR-Posting-Host: 65.55.21.8
| | | | From: =?Utf-8?B?R2VyaGFyZA= =?= <Ge*****@commun ity.nospam>
| | | | References:
<B2************ *************** *******@microso ft.com>
| | | <bJ************ **@TK2MSFTNGHUB 02.phx.gbl>
| | | | Subject: RE: Ajax and IE crash
| | | | Date: Thu, 18 Sep 2008 21:12:00 -0700
| | | | Lines: 83
| | | | Message-ID:
<7B************ *************** *******@microso ft.com>
| | | | MIME-Version: 1.0
| | | | Content-Type: text/plain;
| | | | charset="Utf-8"
| | | | Content-Transfer-Encoding: 7bit
| | | | X-Newsreader: Microsoft CDO for Windows 2000
| | | | Content-Class: urn:content-classes:message
| | | | Importance: normal
| | | | Priority: normal
| | | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | | Path: TK2MSFTNGHUB02. phx.gbl
| | | | Xref: TK2MSFTNGHUB02. phx.gbl
| | | microsoft.publi c.dotnet.framew ork.aspnet:7636 3
| | | | NNTP-Posting-Host: tk2msftibfm01.p hx.gbl 10.40.244.149
| | | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | | |
| | | | Thanks. It only happens when the window/tab is closed before
the
| | Ajax
| | | driven
| | | | controls finish loading. Would take some time to make a
project
| that
| | | | duplicates it, separate from my current one (and I am afraid
I
| have
| | to
| | | keep
| | | | that password protected due to sensitive data).
| | | |
| | | | I am loading 11 drop down lists using the toolkit's Cascading
| Drop
| | Down.
| | | If
| | | | these have not finished loading and the tab is closed, then
IE
| hangs
| | up.
| | | |
| | | | Any ideas?
| | | |
| | | | "Allen Chen [MSFT]" wrote:
| | | |
| | | | Hi,
| | | | >
| | | | Do you mean if AJAX toolkit is used, sometimes when you
close
| the
| | | browser
| | | | the browser will hang? Could you send me a demo project
that
| can
| | | reproduce
| | | | this problem? My email is v-******@microsof t.com.
| | | | >
| | | | Regards,
| | | | Allen Chen
| | | | Microsoft Online Support
| | | | >
| | | | Delighting our customers is our #1 priority. We welcome
your
| | comments
| | | and
| | | | suggestions about how we can improve the support we provide
to
| you.
| | | Please
| | | | feel free to let my manager know what you think of the
level of
| | service
| | | | provided. You can send feedback directly to my manager at:
| | | | ms****@microsof t.com.
| | | | >
| | | | =============== =============== =============== =====
| | | | Get notification to my posts through email? Please refer to
| | | | >
| | | >
| | >
| >
http://msdn.microsoft.com/en-us/subs...#notifications.
| | | | >
| | | | Note: The MSDN Managed Newsgroup support offering is for
| non-urgent
| | | issues
| | | | where an initial response from the community or a Microsoft
| Support
| | | | Engineer within 1 business day is acceptable. Please note
that
| each
| | | follow
| | | | up response may take approximately 2 business days as the
| support
| | | | professional working with you may need further
investigation to
| | reach
| | | the
| | | | most efficient resolution. The offering is not appropriate
for
| | | situations
| | | | that require urgent, real-time or phone-based interactions
or
| | complex
| | | | project analysis and dump analysis issues. Issues of this
| nature
| | are
| | | best
| | | | handled working with a dedicated Microsoft Support Engineer
by
| | | contacting
| | | | Microsoft Customer Support Services (CSS) at
| | | | >
| | | >
| | >
| >
http://support.microsoft.com/select/...tance&ln=en-us.
| | | | =============== =============== =============== =====
| | | | This posting is provided "AS IS" with no warranties, and
| confers no
| | | rights.
| | | | --------------------
| | | | | Thread-Topic: Ajax and IE crash
| | | | | thread-index: AckZ8EAFOcNWv5u xThWwIf0XNe7Frg ==
| | | | | X-WBNR-Posting-Host: 207.46.19.168
| | | | | From: =?Utf-8?B?R2VyaGFyZA= =?= <Ge*****@commun ity.nospam>
| | | | | Subject: Ajax and IE crash
| | | | | Date: Thu, 18 Sep 2008 17:40:01 -0700
| | | | | Lines: 8
| | | | | Message-ID:
| <B2************ *************** *******@microso ft.com>
| | | | | MIME-Version: 1.0
| | | | | Content-Type: text/plain;
| | | | | charset="Utf-8"
| | | | | Content-Transfer-Encoding: 7bit
| | | | | X-Newsreader: Microsoft CDO for Windows 2000
| | | | | Content-Class: urn:content-classes:message
| | | | | Importance: normal
| | | | | Priority: normal
| | | | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| | | | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | | | Path: TK2MSFTNGHUB02. phx.gbl
| | | | | Xref: TK2MSFTNGHUB02. phx.gbl
| | | | microsoft.publi c.dotnet.framew ork.aspnet:7635 6
| | | | | NNTP-Posting-Host: tk2msftibfm01.p hx.gbl 10.40.244.149
| | | | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | | | |
| | | | | I have run into a situation that if a page/tab that uses
the
| Ajax
| | | toolkit
| | | | | (using .net version 3.5) is closed before the Ajax enable
| | controls
| | | | complete
| | | | | loading, then IE locks up. Does it in both IE7 and IE8.
| There
| | is no
| | | | issue
| | | | | when the controls are allowed to complete loading.
| | | | |
| | | | | Can you please tell me the best practice that handles
this?
| | | | |
|

Oct 6 '08 #11
Hi,

I am facing a similar issue with IE7 crashing when a user closes the browser window before the AJAX request is complete.

Just wanted to know if there were any updates on this?

Thanks
Imani
Nov 19 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4326
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but from within an inline function. Within the AJAX object: this.xmlhttp = new XMLHttpRequest(); this.response = ''; //to contain the response text OR xml var that = this; //since we cannot reference this within the
2
2380
by: angelinaf | last post by:
working on IE version 6.0.2900.2149; SP2 . while fetching DHML through AJAX , IE crashes if the DHTML returned is huge. Is there any way to avoid this? on other versions of IE ; this works fine. please suggest...
4
2360
by: jason.m.ho | last post by:
Hello, I am writing a no-plugin networked Sketchpad program (DHTML, Comet/Ajax). Because I am trying to avoid using Flash or Java Applet, I rendered my strokes at first with the wz_jsgraphics library (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm). It turned out that that was too inefficient, and if you drew too many things on the screen firefox would crash. So I looked into SVG for Firefox. This works great because it is...
1
16512
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX - microlink pattern tutorial : A microlink is a link that opens up
2
2228
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
I see a lot of posts claiming that you can use AJAX or Javascript to run some kind of "heartbeat" " server polling" that tells the server that the page is still open. I need to know how exactly to do this (server side and client side) or where I can find information on doing this. I want to run some code after a page is closed and I don't want to wait for the session timeout. if anyone has information please post explanations, code...
4
2117
by: newbie | last post by:
hi all, what i am trying to do is fetching results from mysql through a php script using ajax and showing them in paginated manner on the browser. I am getting a json response. Currently i am showing 15 results at a time. if the user wishes to see next set of results, then a ajax call is made again which fetches the next 15 results. I want to know what can be the maximiun number of results in response that is optimal for browser. I am...
2
1269
by: boyindie86 | last post by:
Hi I have looked endlessly for a solution to my problem but I have found no solutions I have a problem where I am using ajax to basically pull values of words out a text file stored on a server on a *DIFFERENT* domain, and I want to pull the words back into a drop down menu. I was originally doing it by passing the words into the page from my server through the URL, but if the page has a lot of words which are matched in my processing,...
1
3091
by: kidalex | last post by:
So, I have a summary page of some stuff that gets updated through AJAX calls back to the server every 15 seconds or so. However, if you leave that page up for a few hours - it'll slow down the computer and eventually crash it with the following message: "Internet Explorer: out of memory on line..." I know AJAX got some memory leaks problems but this is not that much stuff that gets refershed ( a few table rows ).
9
37352
Claus Mygind
by: Claus Mygind | last post by:
I am having trouble escaping the & in a JSON.stringfy() ajax call. I don't even know if I am stating the problem correctly here. In my app I have linked json2.js from http://www.JSON.org/json2.js 2010-08-25(see attached file) to my app. Then I have created an ajax call in the app to my server_side app in which I invoke the JSON.stringify(dataObj). My "dataObj" is an Associative Array. If one of the array element values contains the "&"...
0
9538
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9353
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9788
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8794
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3889
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.