multiple login pages in ASP.NET forms authentication

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-06-02T14:53:37Z Indexed on 2010/06/02 18:54 UTC
Read the original article Hit count: 351

My bank's website has 2 login pages for online banking. On the first page, I enter my username. If I don't enter a valid username, I get an error message, and do not get to the 2nd page. The 2nd page displays a picture based on my user name, and has me enter my password. If I manually type a URL to a page inside the site after entering my username but before entering my password, I am redirected back to the first login page.

Is there a good way to implement this in ASP.NET with Forms Authentication? I only get 1 loginUrl in my web.config.

I am fairly certain my bank uses Java.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about forms-authentication