RE: Strange 'bug' with Windows Authentication

From: JohnHorb (JohnHorb_at_discussions.microsoft.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 08:03:04 -0800

Problem solved. It was nothing to do with security, but was due to the fact
that a Response.Redirect triggers a 'Thread Aborted' exception which, if
within a 'try' block, triggers the 'catch' block'.

The first time through, the 'catch' code was executing before the page
redirected to started outputting. On subsequent calls, the new page was
stating to output before the original 'catch' block executed, so the problem
was hidden.



Relevant Pages

  • Exception when accessing ActiveData member
    ... And sometimes I have an exception like this: ... triggers 2 times with the following reasons: ... plDataReasonIsIncludedChange ...
    (microsoft.public.office.developer.web.components)
  • Re: ACL enforcement via SP or trigger
    ... Triggers will fire if enabled. ... >> row-level security checking in a stored procedure. ... The proc determines ...
    (microsoft.public.sqlserver.security)
  • Re: try catch finally misbehaving
    ... always triggers a null pointer exception. ... The test function handles internally sqlexceptions and finally returns ...
    (comp.lang.java.help)
  • Re: Exception/error returns - values or raised conditions?
    ... Other languages use exception handling for many purposes such as these. ... a lot of memory managers allow also to set a callback on memory ... not explicitly handled in the code, it will generate an alert at the ... and an unexpected exception triggers another one in some finally or ...
    (comp.lang.misc)
  • try catch finally misbehaving
    ... always triggers a null pointer exception. ... String result=testFunc; ...
    (comp.lang.java.help)