我正在使用 ASP.NET Login Controls和 Forms Authentication获取ASP.NET Web应用程序的成员资格/凭据.它会一直重定向到我的应用程序根目录下不存在的Login.aspx页面.我的登录页面在一个文件夹中. 使用
<authentication mode="Forms"> <forms defaultUrl="~/Default.aspx" loginUrl="~/login.aspx" timeout="1440" ></forms> </authentication>