Q: Reponse.Redirect

Discussion in 'ASP .Net' started by =?Utf-8?B?SklNLkgu?=, Jun 23, 2005.

  1. 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,
    =?Utf-8?B?SklNLkgu?=, Jun 23, 2005
    #1
    1. Advertising

  2. Re: Reponse.Redirect

    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.

    "JIM.H." <> wrote in message
    news:...
    > 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,
    >
    Kevin Spencer, Jun 23, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Prince
    Replies:
    1
    Views:
    560
    Bobby Ryzhy
    Jul 14, 2004
  2. RayAll

    Reponse.Redirect ()

    RayAll, Apr 18, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    2,940
    Gabriel Lozano-Morán
    Apr 18, 2005
  3. Samuel Shulman

    Reponse.Redirect Using the POST Method

    Samuel Shulman, Nov 28, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    530
    Cowboy \(Gregory A. Beamer\)
    Nov 28, 2006
  4. Replies:
    1
    Views:
    281
    Cowboy \(Gregory A. Beamer\)
    Sep 2, 2008
  5. ethem
    Replies:
    1
    Views:
    363
    ethem
    Aug 4, 2010
Loading...

Share This Page