473,480 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Session State asp.net 1.1 / IIS 6

I have an asp.net 1.1 web app written in C# and running on IIS6. The
app loses session state information if I log in and then leave the
webpage for say, 45 minutes or so. I have configured the
authentication section in web.config to allow for a timeout value of
120 (forms authentication). And then I also set the IIS session
timeout to 150 minutes. That didn't help. Why does the session state
not last for at least 120 minutes, when I have my app configured in
this way? Is there something else I need to do?

Apr 2 '07 #1
6 2539
you need to set the idleTimeout in <processModelwhich causes shutdown
after idle time. a recycle loses inproc sessions

-- bruce (sqlwork.com)

Joey wrote:
I have an asp.net 1.1 web app written in C# and running on IIS6. The
app loses session state information if I log in and then leave the
webpage for say, 45 minutes or so. I have configured the
authentication section in web.config to allow for a timeout value of
120 (forms authentication). And then I also set the IIS session
timeout to 150 minutes. That didn't help. Why does the session state
not last for at least 120 minutes, when I have my app configured in
this way? Is there something else I need to do?
Apr 2 '07 #2
Also, the "IIS" session timeout is for classic ASP only. For ASP.NET, change
the setting in the web.config file.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Joey" wrote:
I have an asp.net 1.1 web app written in C# and running on IIS6. The
app loses session state information if I log in and then leave the
webpage for say, 45 minutes or so. I have configured the
authentication section in web.config to allow for a timeout value of
120 (forms authentication). And then I also set the IIS session
timeout to 150 minutes. That didn't help. Why does the session state
not last for at least 120 minutes, when I have my app configured in
this way? Is there something else I need to do?

Apr 2 '07 #3
On Apr 2, 3:49 pm, bruce barker <nos...@nospam.comwrote:
you need to set the idleTimeout in <processModelwhich causes shutdown
after idle time. a recycle loses inproc sessions

-- bruce (sqlwork.com)

Joey wrote:
I have an asp.net 1.1 web app written in C# and running on IIS6. The
app loses session state information if I log in and then leave the
webpage for say, 45 minutes or so. I have configured the
authentication section in web.config to allow for a timeout value of
120 (forms authentication). And then I also set the IIS session
timeout to 150 minutes. That didn't help. Why does the session state
not last for at least 120 minutes, when I have my app configured in
this way? Is there something else I need to do?- Hide quoted text -

- Show quoted text -
Bruce, there is not <processModeltag in web.config. I checked in the
machine.config file, and both "timeout" and "idleTimeout" are set to
"Infinite". Does anyone else have any ideas?

Apr 2 '07 #4
What about idle timeout settings in the App pool properties in IIS
(performance tab)?

Apr 3 '07 #5
On Apr 3, 2:40 pm, "Latish Sehgal" <latish.seh...@gmail.comwrote:
What about idle timeout settings in the App pool properties in IIS
(performance tab)?
I only have two options on the performance tab: "Bandwidth throttling"
and "Web site connections". There is no option for idle timeout, or
even for App pool. Can you explain where I need to look to change this?

Apr 16 '07 #6
On Apr 16, 11:08 am, "Joey" <joey.pow...@topscene.comwrote:
On Apr 3, 2:40 pm, "Latish Sehgal" <latish.seh...@gmail.comwrote:
What about idle timeout settings in the App pool properties inIIS
(performance tab)?

I only have two options on the performance tab: "Bandwidth throttling"
and "Web site connections". There is no option for idle timeout, or
even for App pool. Can you explain where I need to look to change this?
Does anyone have any ideas about how I can address this problem (refer
to top of thread)? How can I make a pop up box showing that the
session is about to expire?

Apr 18 '07 #7

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

Similar topics

5
3630
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of...
3
5967
by: Nhi Lam | last post by:
Hi, I understand that there are 3 modes in which I can configure the SessionStateModule. What I need is an out of process Session State store with fail over support. The "SQL Server Mode" seems...
2
2163
by: John A Grandy | last post by:
for high traffic public websites , what are the proven options for session-state storage & management ? is an out-of-process state-server generally preferred over a sql-server ? what are the...
1
2390
by: Johan Nedin | last post by:
Hello! I have a problem with SQLSession state on my ASP.NET pages. SQLSession state behaves very different from InProcess session state, which I think is very bad. I can understand some of...
10
3476
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
9
5287
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
5
548
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know...
18
3395
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
11
3603
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each...
0
6908
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
7088
jinu1996
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...
1
6741
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...
0
6956
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...
0
5342
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,...
1
4783
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...
0
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.