Re: How ASP.NET find Login page?
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 21 Apr 2007 08:37:00 -0500
If you use the VS tools to help set up login, it will place the config element for you. It will also watch page name changes and adjust config accordingly. You can "trick" it and mess things up, if you try reallly hard. Fortunately, it is a simple matter of manually configuring through the config file. ;-)
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*********************************************
Think outside the box!
*********************************************
"Morgan Cheng" <morgan.chengmo@xxxxxxxxx> wrote in message news:1177130862.123369.289030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In VS2005, I create a ASP.NET website project.One page named
Default.aspx with LoginView and LoginStatus controls; and one page
named Login.aspx with Login control in it. After setup of users, I
press Ctrl+F5, IE window is popped up, redirect to Login.aspx page ask
me to input username and password. This works fine.
I am wondering, how does ASP.NET know to redirect to Login.aspx from
Default.aspx? I renamed Login.aspx to something else, and it still
works fine.
I add another page named AnotherLogin.aspx with Login Control too.
But, Default.aspx doesn't redirect to AnotherLogin.aspx, but to
original Login.aspx. What's the connection between Default.aspx and
Login.aspx? How to configure it?
Thanks
.
- References:
- How ASP.NET find Login page?
- From: Morgan Cheng
- How ASP.NET find Login page?
- Prev by Date: Re: Splitting comma-seperated items
- Next by Date: Re: password attempts
- Previous by thread: Re: How ASP.NET find Login page?
- Next by thread: ASP.Net Button Stretches in Windows XP, in Absolute Position ?
- Index(es):