Q: Reponse.Redirect

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
In my login screen I validate user against SQL table and call my main page
with Reponse.Redirect("myPage.aspx"); I see my application comes there but
does not switch to myPage.aspx, I used try catch, I see “Thread was being
aborted†error message, I know myPage.aspx is there because my old code
works, my login screen modification somehow created problem. Any Idea?
Thanks,
 
Try -

Response.Redirect("myPage.aspx", false);

This tells the app not to call Response.End after redirecting.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
Back
Top