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. 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. Steve C. Orr, MCSD

    Re: redirecting from .aspx page to .asp page

    Steve C. Orr, MCSD, Jul 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    415
    Steve C. Orr, MCSD
    Jul 15, 2003
  2. Jeff Trotman
    Replies:
    0
    Views:
    449
    Jeff Trotman
    Jul 16, 2003
  3. Loui Mercieca
    Replies:
    3
    Views:
    1,982
    S. Justin Gengo
    Sep 3, 2005
  4. Guest
    Replies:
    1
    Views:
    120
    Nicole Calinoiu
    Oct 15, 2003
  5. Tim_Mac
    Replies:
    0
    Views:
    168
    Tim_Mac
    May 11, 2005
Loading...

Share This Page