Hi,
Big Daddy wrote:
> I have an ASP.NET application where the user will be right in the
> middle of doing something and the sessions ends and then it blows up
> because I have stored some things in the Session hashtable. I know
> it's not ending because of the usual culprits (timeout, web.config file
> changing, anti-virus software scanning the dll, etc.). So I am
> wondering if there is a way to ask IIS why the session ended. It could
> be programmatically or it could be manually looking in an IIS log
> somewhere or anything else. thanks in advance.
Are you on IIS 5 or IIS 6? (Windows XP or Windows 2003 Server?)
On the Server version, there is a setting which automatically recycles
the working process periodically, and IIRC when the memory gets full. I
don't have a copy here, but check IIS' help for more information.
HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering:
http://www.galasoft-LB.ch
Private/Malaysia:
http://mypage.bluewin.ch/lbugnion
Support children in Calcutta:
http://www.calcutta-espoir.ch