I have two websites setup on an IIS Server. In the web.config files i have
<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se" timeout="120" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
Inside of IIS, when you click on the website, you view the properties for a
website, click the Configuration button on the Virtual Directory Tab and
click Options to see the Application configuration, Session State is enabled
with a timeout of 90000 mintues.
The browser session for one website works fine, the browser session for the
other website times out earlier than 120 minutes. How can I troubleshoot
the timeouts ? 4 4763
re:
Session State is enabled with a timeout of 90000 mintues.
The maximum session timeout period allowed is 1440 minutes.
Try setting a value equal or lower than 1440.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"RobHK" <Ro***@discussi ons.microsoft.c omwrote in message
news:AF******** *************** ***********@mic rosoft.com...
>I have two websites setup on an IIS Server. In the web.config files i have
<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se" timeout="120" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
Inside of IIS, when you click on the website, you view the properties for a
website, click the Configuration button on the Virtual Directory Tab and
click Options to see the Application configuration, Session State is enabled
with a timeout of 90000 mintues.
The browser session for one website works fine, the browser session for the
other website times out earlier than 120 minutes. How can I troubleshoot
the timeouts ?
"RobHK" <Ro***@discussi ons.microsoft.c omwrote in message
news:AF******** *************** ***********@mic rosoft.com...
Session State is enabled with a timeout of 90000 mintues.
You're trying to set a Session timeout of over 62.5 days...?
I have to ask - is this a typo...?
The configuration item you are looking at in IIS is for Classic ASP only -
and has no effect on ASP.NET apps. You need to use the item in your
web.config.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"RobHK" wrote:
I have two websites setup on an IIS Server. In the web.config files i have
<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se" timeout="120" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
Inside of IIS, when you click on the website, you view the properties for a
website, click the Configuration button on the Virtual Directory Tab and
click Options to see the Application configuration, Session State is enabled
with a timeout of 90000 mintues.
The browser session for one website works fine, the browser session for the
other website times out earlier than 120 minutes. How can I troubleshoot
the timeouts ?
"Mark Rae" wrote:
"RobHK" <Ro***@discussi ons.microsoft.c omwrote in message
news:AF******** *************** ***********@mic rosoft.com...
Session State is enabled with a timeout of 90000 mintues.
You're trying to set a Session timeout of over 62.5 days...?
I have to ask - is this a typo...?
No typo.. I'm just trying to "deactive" the timeout by making it as long
as possible. From another post .. this setting is for Classis ASP only and
not for .net . Someone else had said 1440 is the maximum so I will try that
just to see what happens. the only timeout I want to be happening is the
one from the web.config at 120 minutes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tyler |
last post by:
I have an asp page that is producing a report via some heavy SQL queries with
dynamically chosen parameters from the users of the page. I can run it on my
development server (takes about 35 minutes to produce) , however when it is
run on the production server it will execute for about 3 minutes, then bring
me to a Page Cannot Be Displayed. I think this might be some sort of
timeout, but I have no idea as to how to stop it. I've changed...
|
by: Edward |
last post by:
Front End: Access 2000 Project (.adp)
Back End: SQL Server 2000
I have an application that keeps timing out. I have opened the
DataLink properties in the front end (File, Connection, Advanced tab)
and set the timeout to 999. But the connection still occasionally
times out.
Any ideas? Some of the SQL is pretty horrible (multiple sub-queries
etc.)
|
by: Dave |
last post by:
Hi All,
Can anyone suggest a reliable solution to php redirect?:
header("Location: $redir_url");
if the above times out in $timeout seconds
header("Location: $alt_redir_url");
Many thanks,
|
by: supercooper |
last post by:
I am downloading images using the script below. Sometimes it will go
for 10 mins, sometimes 2 hours before timing out with the following
error:
Traceback (most recent call last):
File "ftp_20070326_Downloads_cooperc_FetchLibreMapProjectDRGs.py",
line 108, i
n ?
urllib.urlretrieve(fullurl, localfile)
File "C:\Python24\lib\urllib.py", line 89, in urlretrieve
|
by: rowan |
last post by:
I'm writing a driver in Python for an old fashioned piece of serial
equipment. Currently I'm using the USPP serial module. From what I can
see all the serial modules seem to set the timeout when you open a
serial port. This is not what I want to do. I need to change the
timeout each time I do a "read" on the serial port, depending on
which part of the protocol I've got to. Sometimes a return character
is expected within half a second,...
| |
by: teddysnips |
last post by:
One of our clients has reported a problem. Everything was working
fine on Monday, but since Tuesday all is going wrong. The sysadmin
assures me that there have been no changes to the network, or the
servers.
Three applications, one back-end database server (SQL Server 2000 with
all service packs etc.).
APP 1: Access 2000 database
APP 2: ASP.NET (VS 2003)
|
by: Zytan |
last post by:
I have a TcpClient. I set the read/write timeouts at 1 minute (in
milliseconds). I get a NetworkStream from it and confirm the timeouts
still exist. I do a NetworkStream.Write() and then a
NetworkStream.Read(). Sometimes it sits and waits -- on the Write()
or the Read() -- for 15 minutes before I get fed up and close the
app.....
I am not connecting to a TcpListener. I am connecting to a Socket
with ProtocolType.Tcp, which is...
|
by: Zytan |
last post by:
I just had the problem occur again, with NetworkStream.Write() doing
its thing with a timeout... and it just sits and waits and waits and
waits... it never times outs. So, I shut the server down just to see
if THAT will make it at least end the function call and continue
(since it's a synchronous call, so the program is delayed until it
returns), and even THAT doesn't make the call end. It just sits and
waits...
Even IF I have a bug...
|
by: Andrew Cooper |
last post by:
I've got a report that is using an ObjectDataSource to populate its
data. The problem is that the report takes longer than 30 seconds to
generate so it times out. If I were using an SQLDataSource object I
know how to set the Command.Timeout to account for this but I can't find
the Timeout property on the ObjectDataSource to do this. How can I set
the Timeout property on an ObjectDataSource?
Thanks,
Andrew
|
by: Andrew Cooper |
last post by:
I posted this in the aspnet newsgroup but thought I might have more luck
with an answer here. I'd really appreciate any help I can get. Thanks.
I've got a report that is using an ObjectDataSource to populate its
data. The problem is that the report takes longer than 30 seconds to
generate so it times out. If I were using an SQLDataSource object I
know how to set the Command.Timeout to account for this but I can't find
the Timeout...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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...
|
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...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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
| |