multiple default pages issue

Discussion in 'ASP .Net' started by graphicsxp, Sep 11, 2006.

  1. graphicsxp

    graphicsxp Guest

    Hi,
    I have a login page (login1.aspx) which upon successful login makes a
    call to FormsAuthentication.RedirectFromLoginPage. That works and
    redirects the user to Welcome.aspx, which is the default page.

    However the user should also be able to access the site directely from
    another application. If they come from that other application, they
    should be redirected to another login page (login2.aspx) which uses
    their windows account (it's an intranet) to login and redirects them
    upon success to SomePage.aspx, instead of Welcome.aspx.

    The issue is that FormsAuthentication only redirects to the page that
    were requested. So I could call SomePage.aspx from this other
    application, but then they would be redirected to login1.aspx instead
    of login2.aspx...

    How can I solve that ?


    Thanks
    graphicsxp, Sep 11, 2006
    #1
    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. micky

    default.mspx or default.do

    micky, Dec 16, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    474
    Andrew Robinson
    Dec 17, 2005
  2. Gaetan
    Replies:
    3
    Views:
    1,399
    Juan T. Llibre
    Feb 14, 2006
  3. C Gillespie
    Replies:
    3
    Views:
    388
    Peter Hansen
    Mar 22, 2005
  4. Max
    Replies:
    2
    Views:
    460
    Joe Kesselman
    Aug 1, 2006
  5. desktop
    Replies:
    2
    Views:
    440
    Victor Bazarov
    Jun 6, 2007
Loading...

Share This Page