473,717 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hang problem in ASP.Net application

Hi all,

I have recently encountered the following problem with my ASP.Net
application.

After deploying our site and people started using it alot, we
discovered that if a person were to browse the site for a time, then go
and do somethign else while leaving the browser open, when they come
back to the site, none of the buttons do anything. Basically the site
has just become stale and loses all interactivity. Closing the browser
and reopening fixes the problem; However it would be great to get this
issue fixed.

Any input appreciated.

Dec 20 '05 #1
3 1444
This could be due to their Session expiring, or to ASP.NET process recycling,
or other issues.
There are a number of techniques for handling this including refreshing the
page programmaticall y at intervals, checking to see if there is a Session and
if not , redirecting the "returning after hiatus user" to the login page, and
others.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"to********@gma il.com" wrote:
Hi all,

I have recently encountered the following problem with my ASP.Net
application.

After deploying our site and people started using it alot, we
discovered that if a person were to browse the site for a time, then go
and do somethign else while leaving the browser open, when they come
back to the site, none of the buttons do anything. Basically the site
has just become stale and loses all interactivity. Closing the browser
and reopening fixes the problem; However it would be great to get this
issue fixed.

Any input appreciated.

Dec 20 '05 #2
Sounds like a session end problem?? How long are users "doing something
else," and what is the session timeout for the application set to
(typical default is 20 minutes)?

Jacque

Dec 20 '05 #3
Thanks for the input guys.

One thing to keep in mind is we do not use the Session collection
anywhere in our application.

Time Away - 20 minutes seems about right, though im not sure exactly
when the problem occurs.

Redirecting to login is probably our best bet- if just resuming from
where yuo left off isnt possible.

Dec 20 '05 #4

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

Similar topics

2
1380
by: Mahesh | last post by:
Hi, This is on WinXP SP1. I needed to get to the POST body and while I was trying out various regular expressions, one of them caused Python to hang. The Python process was taking up 100% of the CPU. I couldn't even see the "Max recursion depth exceeded message". Is this a bug? Code below: import re
5
1795
by: Ido Zur | last post by:
The problem: We have ASP application that uses WSC as data access tier to SQL Server, and it runs well on windows 2000 server IIS 5.0. When we install the application on XP with IIS 5.1 the browser hang from time to time. When testing with a network sniffer we found out that sometimes the browser request an ASP page and don't get a response from the server.
2
369
by: Amir The Ruler | last post by:
Hi guys I was working on an ASP.net project when suddenly PC restarted due to a power shortage. XP did not scandisk at boot so i did it manually. (with no error) Since then whenever i try to open a Web project, VS hangs at "opening http://localhost/webApp02" or whatever. When i run the project outside the VS, it takes forever to open with no error. Event viewer simply only says "application hang, DevEnv.exe".
0
1685
by: Shaul Dar | last post by:
When starting a (1st) .NET application the CLR seems to allocate a very large (100s of MB, continuous AFAIK) virtual memory, as evident by the process VM size of even a toy app. The CLR also seems to reserve about 32MB of memory, as seen by the "# Total Reserved Bytes" performance counter. I take this to mean that 32MB of the allocated VM are "locked down" in RAM, even if the managed memory needed initially by the application (reflected in...
2
1860
by: Serge | last post by:
Hi, I am having a thread hang problem in my c# code. The example on the website: http://csharp.web1000.com/ is a simplified version of my problem. You will see in the form that a method TestThread increments a number in the textbox on the form. TestThread is called from a worker thread (2nd thread) using a TimerThread.
0
1099
by: Ben | last post by:
Hi there, We've asp.net application running on a Win2000 server + .net framework 1.1.4322 . After running for a few weeks, it got hang. Even calling up a simple page such as the home page took forever to display. We've tried creating another simple asp.net application with a very simple page. But it hang when it is being called. End up resolving by re-booting the server.
6
2487
by: Federico | last post by:
Hi, this is what I can do: - Create new solutions using VS.Net ASP.Net - Save the solutions, build the solution, view in browser with the solution still open. But, once I close the solution, I can not open it again in VS.Net2003 because it hangs my machine (the whole machine stops responding and there's no alternative but to reboot it!). I can't either browse the created solution because it also hangs the whole machine.
0
976
by: henrycortezwu | last post by:
Hi guys, I created an MDI application that can open multiple Crystal Report viewers (Child Forms). My problem is that if a user opens one big report or one heavy report that takes awhile to load, the entire MDI application hangs. How do I prevent the entire MDI application from hanging? It is acceptable for the Child Form to hang because it is currently loading a heavy report, but the users still must be able navigate around, or
0
3203
by: Jeff | last post by:
Banging my head against the wall trying to figure this out. I have a 'sometimes' hang while disposing a form which contains an ActiveX control (Flash.ocx version 7). The form's Dispose() method generated by the form designer protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null)
3
2318
by: Michael Maes | last post by:
Hi, We have a windows service passing objects to a client application by remoting. The windows service is started and running successfully. * When the client app is running on the same machine as the windows service (W2K3) every method gets executed successfully. * When the client app is running on a different machine (XP SP2), some methods from the remote object the client calls make client hang. Other
0
9348
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...
1
9109
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9048
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
7981
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
6648
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
4739
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3177
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
2
2545
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2120
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.