Session State asp.net 1.1 / IIS 6

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?
 
B

bruce barker

you need to set the idleTimeout in <processModel> which causes shutdown
after idle time. a recycle loses inproc sessions

-- bruce (sqlwork.com)
 
G

Guest

Also, the "IIS" session timeout is for classic ASP only. For ASP.NET, change
the setting in the web.config file.
Peter
 
J

Joey

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?
 
L

Latish Sehgal

What about idle timeout settings in the App pool properties in IIS
(performance tab)?
 
J

Joey

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?
 
J

Joey

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top