473,385 Members | 1,707 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,385 software developers and data experts.

Timeout in ASP.NET

I have developed an ASP.NET application for my user. When the user left the application for a while (still open in the IE), and then go back the application. He found that some buttons to start some functions were failed. However, when he normally use (did not leave the application), he found it's OK. I want to know that how's happen?? is there something set to the application timeout?? If so, How I disable it or set longer time??

Million Thanks.

Eric
Nov 18 '05 #1
2 1273
Grey wrote:
I have developed an ASP.NET application for my user. When the user left the application for a while (still open in the IE), and then go back the application. He found that some buttons to start some functions were failed. However, when he normally use (did not leave the application), he found it's OK. I want to know that how's happen?? is there something set to the application timeout?? If so, How I disable it or set longer time??

Million Thanks.

Eric


"httpRuntime" section in "Web.config" file

<!--
executionTimeout=??? seconds
-->
<httpRuntime
executionTimeout="1200"
/>
--
Jacky Kwok
ja***@alumni.cuhk.edu.hk
ja***@compose.com.hk
Nov 18 '05 #2
IIS will timeout a session after 20 minutes (by default). You can change that with settings for in the virtual directory in the IIS manager, or you can set some properties in ASP.NET which can control the timeout (using the HttpSessionState.Timeout), but for the most part, a timeout does exist. After all, you do not necessarily want a session to hand around forever.

You might be able to disable the session (I don't know how), but then your application may not be able to maintain state. A session should always have a timeout because the system uses resources when the session is active and if the session never ends, the resources still stay around.

"Grey" <er*****@i-cable.com> wrote in message news:u0**************@TK2MSFTNGP12.phx.gbl...
I have developed an ASP.NET application for my user. When the user left the application for a while (still open in the IE), and then go back the application. He found that some buttons to start some functions were failed. However, when he normally use (did not leave the application), he found it's OK. I want to know that how's happen?? is there something set to the application timeout?? If so, How I disable it or set longer time??

Million Thanks.

Eric
Nov 18 '05 #3

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

Similar topics

9
by: E Sullivan | last post by:
I am having a time out issue when multiple users are accessing the server. This time out does not happen all of the time. My understanding is that the time out value is actually set in two places....
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
4
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
22
by: Nick Craig-Wood | last post by:
Did anyone write a contextmanager implementing a timeout for python2.5? I'd love to be able to write something like with timeout(5.0) as exceeded: some_long_running_stuff() if exceeded:...
5
by: Masso | last post by:
Hallo to the group, my question is this: where i have to set timeout in a web application? If i set into sessionState with property Timeout="60", after 20 minutes the session is over. Always...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.