Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Is there any way to see why a session is ending?

Reply
Thread Tools

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

 
 
Big Daddy
Guest
Posts: n/a
 
      05-02-2006
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.

 
Reply With Quote
 
 
 
 
MSDN
Guest
Posts: n/a
 
      05-02-2006
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" <> wrote in message
news: 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.
>



 
Reply With Quote
 
 
 
 
Laurent Bugnion
Guest
Posts: n/a
 
      05-08-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to see why a thread is still open? JohnnyFive Python 1 06-17-2010 07:45 AM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
Is there any way to make destination URL see a different referer? Chris Ianson HTML 1 04-01-2006 08:04 AM
Is there any way to see previous messages. Davidand Computer Support 10 09-27-2003 02:01 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57