ASP.NET Sessions not timing out

For one of our applications we had a very high memory consumption. Digging into the problem, we found out that no ASP.NET sessions are timing out. (You can see this using the ASP.NET 2.0 Perfomance Counters Active Sessions, Sessions Timed Out.)

Investigation further the reason turned out to be a setting for the ASP.NET cache in the web.config.

<caching>
       <cache percentagePhysicalMemoryUsedLimit=”50″ disableExpiration=”true”/>
</caching>

Reading through the following link this makes sense. When InProc Session is used the Session data is stored in the Cache.

Maybe this helps you, because I couldn’t find anything helpful on this.

Advertisement

0 Responses to “ASP.NET Sessions not timing out”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.