redirecting to non aspx page

Discussion in 'ASP .Net' started by James Wallace, Jun 8, 2004.

  1. Is it possible to use forms authentication in the web.config file and
    FormsAuthentication.RedirectFromLoginPage with an asp page so that
    when the asp page is set to startup page on the project that a
    redirection will go to the login page and allowing the authentication
    to occur before going to the asp page.

    I have an asp page that I want to redirect to after authenticating and
    if I set the asp as the startup page it starts up with that page
    instead of redirecting first to the login page and then to the asp
    page.

    When I use an aspx page as the startup page the redirection to the
    login page works fine, but html or asp will not work.

    Thanks for any help you can provide.
     
    James Wallace, Jun 8, 2004
    #1
    1. Advertisements

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

    How do I post data from aspx page to another aspx page.

    Sriram Mallajyosula, Nov 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,270
    Steve C. Orr [MVP, MCSD]
    Nov 5, 2003
  2. Marco Antonio Montalvo Durán
    Replies:
    2
    Views:
    4,612
    Matt Morris
    Jan 23, 2004
  3. Loui Mercieca
    Replies:
    3
    Views:
    2,168
    S. Justin Gengo
    Sep 3, 2005
  4. =?Utf-8?B?Uk1M?=
    Replies:
    1
    Views:
    731
    =?Utf-8?B?QW5keSBMdWtzaWM=?=
    Sep 16, 2005
  5. Progman
    Replies:
    2
    Views:
    2,151
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 13, 2006
  6. uto
    Replies:
    3
    Views:
    831
    Michael Hamrah
    Mar 8, 2006
  7. Guest
    Replies:
    1
    Views:
    190
    Nicole Calinoiu
    Oct 15, 2003
  8. Tim_Mac
    Replies:
    0
    Views:
    251
    Tim_Mac
    May 11, 2005
Loading...