Session State asp.net 1.1 / IIS 6

  • Thread starter Thread starter Joey
  • Start date Start date
J

Joey

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?
 
you need to set the idleTimeout in <processModel> which causes shutdown
after idle time. a recycle loses inproc sessions

-- bruce (sqlwork.com)
 
Also, the "IIS" session timeout is for classic ASP only. For ASP.NET, change
the setting in the web.config file.
Peter
 
you need to set the idleTimeout in <processModel> which causes shutdown
after idle time. a recycle loses inproc sessions

-- bruce (sqlwork.com)




- Show quoted text -

Bruce, there is not <processModel> tag 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?
 
What about idle timeout settings in the App pool properties in IIS
(performance tab)?
 
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?
 
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?
 
Back
Top