473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

VS hangs when browser closed between Begin & EndInvoke

Hi,

I am trying to call a function in my web page, asynchronously, to improve
performance. I am using a function delegate to do that. I have a web page.
When the user clicks a button, i want to execute this function
asynchronously and in the meantime move on to other tasks. At the very end,
i call EndInvoke. Problem is if i disrupt this process by closing the
browser Visual Studio "freezes" and won't become active until after some
time.
It *could* be that i am not giving EndInvoke a chance to be called or to
finish executing. After a certain amount of time, Visual Studio becomes
active again. I am hesitant to say this, but it could be that the amount of
time it takes for VS to become active again, corresponds to the amount of
time it takes for the session to expire on the server. That's something to
look into i guess, but regardless, even if there is some sort of a leak or
blocking problem because EndInvoke couldn't fully execute, Visual Studio
shouldn't freeze/hang.
Has anyone else experienced this problem? How does one go about calling
BeginInvoke in one place/page and EndInvoke in another page without fearing
that the process might be orphaned and Visual Studio rendered inactive
should i or other developers chose to close the browser in-between,

Thanks much, Vishal
Jul 19 '05 #1
0 1350

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

Similar topics

2
by: Michael | last post by:
Hello Currently I'm migrating an applet from Java 1.1 to 1.3. Targetplattform: Microsoft Internet Explorer 5.x with Sun's Java VM 1.3.1 Problem: The attached applet works fine with the...
4
by: Colin Steadman | last post by:
Does anyone have a suggestion how I could debug this problem: 1. Data is collected from database and displayed in a form. 2. User updates data and submits it. 3. Submitted data is compared with...
5
by: Richard Gutery | last post by:
G'day. Slight problem that has me perplexed. We have an ASP app running on Win2K IIS 5.1, devloped on WinXPpro. Up until the other day, the app worked without problems. Now, the app hangs on...
1
by: - | last post by:
i have a problem with a stored procedure. It works when i insert a new record but when i try to reinsert the same record again to test the "IF" statement, the server hangs and lost connection. ...
10
by: feel52 | last post by:
Below you'll find the code i'm working on. It's in a button click routine and hangs after 3 or 4 sometimes 5 loops done, probably in sock.receive(....). Some code was found here( on google i mean)...
2
by: Brad Quinn | last post by:
It appears that IIS hangs the first time two requests are made for same page in quick succession. Although it may very well be something else I'm doing wrong. I have a page (ViewDocument.aspx)...
0
by: Vishal Gupta | last post by:
Hi, I am trying to call a function in my web page, asynchronously, to improve performance. I am using a function delegate to do that. I have a web page. When the user clicks a button, i want to...
1
by: rmgalante | last post by:
Hello, I have a VB.Net component that uses the XslTransform object. I am using the FXSL randomizeList function in my XSL template. When I transform the XML in the VB.Net component, my...
2
by: Pierre Rouleau | last post by:
Hi all, I have a consistent test case where os.popen3() hangs in Windows. The system hangs when retrieving the lines from the child process stdout. I know there were several reports related to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.