Reference: http://erlend.oftedal.no/blog/?blogid=55
<authentication mode="Forms" >
<forms loginUrl="~/admin/Login.aspx"></forms>
</authentication>
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
Showing posts with label C# LoginStatus. Show all posts
Showing posts with label C# LoginStatus. Show all posts
Saturday, April 5, 2008
Changing the default login page for use with LoginStatus control
Sometimes it is desirable to have a different default login page. For example, a simple site where administrators login at http://foo.com/admin/Login.aspx versus the standard http:foo.com/Login.aspx. The LoginStatus control will hyperlink back to the default login page. To change this default login page, change the web.config file as follows:
Subscribe to:
Posts (Atom)