Detect session hang and kill it

Posted by Jack Juiceson on Stack Overflow See other posts from Stack Overflow or by Jack Juiceson
Published on 2010-05-16T17:33:48Z Indexed on 2010/05/16 17:40 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

Hi all,

I have an asp.net page that runs certain algorithm and returns it's output. I was wondering what will happen and how to handle a case where the algorithm due to a bug goes into infinite loop. It will hog the cpu and other sessions will be served very slowly.

I would love to have a way to tell IIS, if processing Algo.aspx takes more than 5 seconds, kill it or something like that.

Thanks in advance

© Stack Overflow or respective owner

Related posts about asp

Related posts about .NET