I wish to use forms authentication in an asp.net website, but without a specific login page. Instead, I'd like to let my users login via a DIV section on the upper right corner of the screen. Moreover, I would like that this DIV section will use SSL.
My suggestion to the implemention is: 1. creating a login.aspx page that contains only the div element with a Form tag. 2. on every page in the site (possibly even in one master page), create an IFrame that contains the login.aspx page. 3. if the user performs a login - display "Hi username" in the login.aspx page. Otherwise, display a login credentials textbox.
This suggestion uses a specific login.aspx page, but it is disguised by the IFrame and the Master page. I think this suggestion is creative and I can't think of a reason why it wouldn't work. Before I'll try it, is this the way to go? Can someone suggest another solution?
Thanks in advance.