Re: Thread was being aborted
- From: "Daniel Walzenbach" <daniel.walzenbach@xxxxxxxxxxxxxxxx>
- Date: Sun, 4 Sep 2005 14:38:03 +0200
Loui,
this is what happens:
"The Response.End method ends the page execution and shifts the execution to
the Application_EndRequest event in the application's event pipeline. The
line of code that follows Response.End is not executed.
This problem occurs in the Response.Redirect and Server.Transfer methods
because both methods call Response.End internally. "
This behavior is by design. You can read about it in
http://support.microsoft.com/default.aspx?scid=kb;[LN];312629
Does this information help you?
Daniel Walzenbach
"Loui Mercieca" <loui@xxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:OvrjmBSsFHA.3504@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a login page, and after i validate a username and password i use a
> response.redirect to the default page. The username and password are
> stored in an sql db. In the response.redirect i use some session variables
> to be added in the query string. However i am getting a "Thread was being
> aborted.". Any ideas why this could happen?
>
> Thanks inadvance.
>
>
.
- References:
- Thread was being aborted
- From: Loui Mercieca
- Thread was being aborted
- Prev by Date: Accessing a control within LoginView
- Next by Date: Re: Visual Studio Incorrect Syntax Near The Keyword Default Information
- Previous by thread: Re: Thread was being aborted
- Next by thread: Everything happens inside a datagrid, a Complex one ?
- Index(es):
Relevant Pages
|