Re: Thread was being aborted



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.
>
>


.



Relevant Pages

  • Re: Select Statement: Join vs Inner Select
    ... will have to prepare an execution plan for each call. ... > tbTran (SeqNo, UserID, AuthUserID, ...) ... > tbUser(UserID, UserName, ...) ...
    (microsoft.public.sqlserver.programming)
  • Re: Using Password in Application
    ... course of execution. ... without user intervention I will have to store a username and password inside ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Execution time executing stored procedure
    ... I'd check for blocking and also compare the execution plan between the quick and the slow executions. ... > I am about to deploy a huge web-application, but ran into a strange problem. ... Then I watched the query that was executing in the Profiler. ... This is only happening when I write correct username and password. ...
    (microsoft.public.sqlserver.programming)
  • Re: Using Password in Application
    ... course of execution. ... without user intervention I will have to store a username and password ... Could you just clarify /why/ you need to store a password in your ...
    (microsoft.public.dotnet.languages.csharp)