Author: nlvraghavendra | Posted on: 11/13/2009 6:08:09 AM | Views : 347

Hello,
I'm facing "Thread was being aborted" while i'm using Response.Redirect().
So i find that there are two solutions for this.
1. Putting Response.Redirect() outside the try-catch block.
2. Calling the overloaded function Response.Redirect("http://test", false).
My doubt is what happens in the following scenario.
Event1()
{
    try
    {

    func1();
    func2();
    }

}


func1()
{
    Response.Redirect()

}


func2()
{
    Response.Redirect()
}


If i call the overloaded Response.Redirect() in func1(), func2() will be executed which i dont want. If i dont call the overloaded function, the next time when the page gets loaded and if response.redirect() is called in func ...

Go to the complete details ...