HttpContext.Current.ApplicationInstance.CompleteRequest not working

  • Thread starter Thread starter Thotatri
  • Start date Start date
T

Thotatri

hi

This is very minor issue.. but still I am not able to
find the way out..pls help..

In my header page I am checking against session, & if the
session is not present I am poping up a login page & I am
using response.end to the current page so that nothing
get displayed until he logs again..

The problem is ThreadAbortException Occurs when I am
using this.. I want to avoid this .. more over worker
process getting recycled coz of this..

I tried using
HttpContext.Current.ApplicationInstance.CompleteRequest

instead of response.end..

But this piece of code is not working..
pls let me know on this...

I am using framework1.0
All suggestions welcome..

Thanks in advance

Thotatri P
 
Back
Top