theadabortexception

  • Thread starter Thread starter Ashish Sharma
  • Start date Start date
A

Ashish Sharma

i guess this is a very obvious issue with people, i have something in my
logic where i want to to write something to the output and end the
response ..

that event may occur deep inside function calls, and i really dont wanna
put a safe in the catch statements to catch this legitimate exception ..,
anyway to catch an exception in a procedure, and kill it there...
i tried on error resume next, but it still gets caught in the calling
procedure ...

any help would be appreciated ...

-ashish
 
Well i will answer my own question here if someone is in the same Jam

is place of Response.End Use

HttpContext.Current.CurrentApplicationInstance.CompleteRequest()

and for response.

and for Response.Redirect(URL as String, False)
 
Back
Top