By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,025 Members | 2,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,025 IT Pros & Developers. It's quick & easy.

Is there any way to see why a session is ending?

P: n/a
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.

May 2 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
BD,

Does this happen to all users using the system at the same time.
Are users uploading files?
could it be that the ASP.NET Process is recycling for some reason. You IIS?
I have seen at times when memory is low on the server sessions can drop out.
!!?
I would like to hear the solution from someone that really knows.
What are the possibilities?

SA
"Big Daddy" <jo********@yahoo.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
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.

May 2 '06 #2

P: n/a
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
May 8 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.