how to handle exception raised before program execution reaches icallback handlerhttp://forums.asp.net/t/1576228.aspx/1?how+to+handle+exception+raised+before+program+execution+reaches+icallback+handlerTue, 10 Jan 2012 12:03:32 -050015762283959559http://forums.asp.net/p/1576228/3959559.aspx/1?how+to+handle+exception+raised+before+program+execution+reaches+icallback+handlerhow to handle exception raised before program execution reaches icallback handler <p>My application uses Asp.net callbacks extensively.</p> <p>Whenever any unhandled exception occurs after the control reaches to ICallback handler, such exceptions are propogated to client side callback error handler.</p> <p>The problem is when an unhandled exception is raised before the program execution reaches to ICallback handler in a callback request, this event is not fired and nothing happens.</p> <p>Is there any mechanism to let client side callback error handler know that some exception has occured.</p> <p>I generally get this unhanlded exception whenever there is session timeout and my aim is to target all such unhandled exceptions which could raise before program execution reaches to ICallback handler and notify client side error handler about the error.<br> </p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> 2010-07-06T13:54:14-04:004775116http://forums.asp.net/p/1576228/4775116.aspx/1?Re+how+to+handle+exception+raised+before+program+execution+reaches+icallback+handlerRe: how to handle exception raised before program execution reaches icallback handler <p>There is no way to notify client callback handler whenever such exception is raised before request goes to callback event handlers or i would say i was not able to figure out&nbsp; away.</p> <p>Since my problem was generally related to session time outs, i made a call to Ajax enabled web service and cheked for the response.Whenver response was good,then i trigerred my client callback. Yes it is an addditional overhead in terms of number of request going to server for a task , but the only solution i had.</p> <p></p> 2012-01-10T12:03:32-05:00