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

sessions and asp.net timeout issues due to host's pool application shutdown

My asp.net pages sessions are timing out after 20 minutes, and when I
asked my Web host about it they said due to the nature of a shared
hosting environment they cannot allow for sessions to keep application
pools and worker processes hosed for too long as these fearures are
consuming CPU resources while they are active. Therefore the pool
application shutdown and re-start settings are at 20 minutes. Is there
a workaround for this? Do I just not use session variables in my pages?

Apr 28 '06 #1
6 2013
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
My asp.net pages sessions are timing out after 20 minutes, and when I
asked my Web host about it they said due to the nature of a shared
hosting environment they cannot allow for sessions to keep application
pools and worker processes hosed for too long as these fearures are
consuming CPU resources while they are active. Therefore the pool
application shutdown and re-start settings are at 20 minutes. Is there
a workaround for this? Do I just not use session variables in my pages?

Apr 28 '06 #2
That's not what's happening, the web host is shutting it down even if
people ARE using it. Basically every 20 minutes all web sessions are
getting killed. I either need to find some other way to keep the
session alive or re-code without using session.

George Ter-Saakov wrote:
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
My asp.net pages sessions are timing out after 20 minutes, and when I
asked my Web host about it they said due to the nature of a shared
hosting environment they cannot allow for sessions to keep application
pools and worker processes hosed for too long as these fearures are
consuming CPU resources while they are active. Therefore the pool
application shutdown and re-start settings are at 20 minutes. Is there
a workaround for this? Do I just not use session variables in my pages?


Apr 28 '06 #3
re:
the pool application shutdown and re-start settings are at 20 minutes.
That is very short-sighted of your provider.

The IIS 6.0 default is 1740 minutes ( 29 hours ).

You should request that, even if they limit sessions to 20 minutes,
that they provide a more reasonable time period for application recycling.

6 to 12 hours should be enough...without taxing their servers too much.

If they cannot, or refuse to, do that, their servers are overloaded
( if they cannot handle 6-12 hours of app recycling time )
and they need to upgrade their platform capability by putting
more servers online or upgrading their current server's RAM capacities.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com... That's not what's happening, the web host is shutting it down even if
people ARE using it. Basically every 20 minutes all web sessions are
getting killed. I either need to find some other way to keep the
session alive or re-code without using session.

George Ter-Saakov wrote:
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
> My asp.net pages sessions are timing out after 20 minutes, and when I
> asked my Web host about it they said due to the nature of a shared
> hosting environment they cannot allow for sessions to keep application
> pools and worker processes hosed for too long as these fearures are
> consuming CPU resources while they are active. Therefore the pool
> application shutdown and re-start settings are at 20 minutes. Is there
> a workaround for this? Do I just not use session variables in my pages?
>

Apr 28 '06 #4
Well that is the problem with your host,

I am afraid you will not be able to change it on your end.
Change the host if they are refusing to fix their configuration.

The only workaround you could use is to keep Sessions in SQL see session
section in web.config

George.


"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
That's not what's happening, the web host is shutting it down even if
people ARE using it. Basically every 20 minutes all web sessions are
getting killed. I either need to find some other way to keep the
session alive or re-code without using session.

George Ter-Saakov wrote:
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
> My asp.net pages sessions are timing out after 20 minutes, and when I
> asked my Web host about it they said due to the nature of a shared
> hosting environment they cannot allow for sessions to keep application
> pools and worker processes hosed for too long as these fearures are
> consuming CPU resources while they are active. Therefore the pool
> application shutdown and re-start settings are at 20 minutes. Is there
> a workaround for this? Do I just not use session variables in my pages?
>

Apr 28 '06 #5
No, that is incorrect. They simply mean that they don't want to extend the
session timeout longer than 20 minutes. There is no way to shut down all
sessions, without recycling the server. No ISP would EVER indiscrimitately
do this to disconnect all users

jeff

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
That's not what's happening, the web host is shutting it down even if
people ARE using it. Basically every 20 minutes all web sessions are
getting killed. I either need to find some other way to keep the
session alive or re-code without using session.

George Ter-Saakov wrote:
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
> My asp.net pages sessions are timing out after 20 minutes, and when I
> asked my Web host about it they said due to the nature of a shared
> hosting environment they cannot allow for sessions to keep application
> pools and worker processes hosed for too long as these fearures are
> consuming CPU resources while they are active. Therefore the pool
> application shutdown and re-start settings are at 20 minutes. Is there
> a workaround for this? Do I just not use session variables in my pages?
>

Apr 28 '06 #6
re:
There is no way to shut down all sessions, without recycling the server.
That's the mistake they are making.

re: No ISP would EVER indiscrimitately do this to disconnect all users
You'd be surprised. I've seen some quite bone-headed ISP admins.

;-)


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Jeff Dillon" <je********@hotmail.com> wrote in message
news:eN**************@TK2MSFTNGP05.phx.gbl... No, that is incorrect. They simply mean that they don't want to extend the session timeout longer
than 20 minutes. There is no way to shut down all sessions, without recycling the server. No ISP
would EVER indiscrimitately do this to disconnect all users

jeff

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
That's not what's happening, the web host is shutting it down even if
people ARE using it. Basically every 20 minutes all web sessions are
getting killed. I either need to find some other way to keep the
session alive or re-code without using session.

George Ter-Saakov wrote:
I did not understand where do you have a problem.

The Session expires after 20 minutes of inactivity. Then the application
shutdown itself.
Why would you want to keep it up if no one using it?

George.

"Mad Scientist Jr" <us*************@yahoo.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
> My asp.net pages sessions are timing out after 20 minutes, and when I
> asked my Web host about it they said due to the nature of a shared
> hosting environment they cannot allow for sessions to keep application
> pools and worker processes hosed for too long as these fearures are
> consuming CPU resources while they are active. Therefore the pool
> application shutdown and re-start settings are at 20 minutes. Is there
> a workaround for this? Do I just not use session variables in my pages?
>


Apr 28 '06 #7

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

Similar topics

15
by: Jazzis | last post by:
I recently moved an application from W2K / IIS5 to W2K3 / IIS6. In the new environment user sessions expire after 2-3 minutes? I can't find any solution to this, although I found quite a few...
8
by: riprod | last post by:
Someone in the IIS newsgroup suggest I post this here, so sorry in advance for the cross posting. I have a Win 2003 SP1 with IIS 6 and host about 40 websites, most of them useing ASP/VB with...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory†exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
2
by: Dan | last post by:
All, I have a Web Service that validates a piece of data. However, the database that the data comes from is mamouth. So, it may take a long time for the validation query to complete. ...
13
by: =?Utf-8?B?ZG91Zw==?= | last post by:
I support several intranet sites one of which had NO STATE. Even though content has ASP extensions, it was all rendered HTML. Site had NO session or application variables being managed. Site had...
2
by: Scott | last post by:
I have set the session timeout something greater then 20 minutes in the web.config(120 minutes for testing) after 20 minutes to 30 minutes click a button and am redirected back to the login. My...
7
by: =?Utf-8?B?Sm9obiBTdGFnZ3M=?= | last post by:
Hello, Please read this all before giving an answer :) I'm doing some troubleshooting on a web application that my company wrote. It's written in asp.net 1.1. The error that the Event viewer...
3
by: John Kotuby | last post by:
Hi all, In a private Web Application (VS2008 VB.NET) the users were complaining that the default session time was too short, because if they stop for a phone call or any distraction, they get...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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,...

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.