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? 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?
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?
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? >
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? >
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? >
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? >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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
...
|
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...
|
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.
...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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
|
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...
|
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: 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,...
|
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...
|
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,...
| |