在线等:aspnet MemberShip跳转页面的问题
<authentication mode="Forms"> <forms loginUrl="~/Login.aspx" timeout="2880" defaultUrl="~/Index.aspx"/></authentication>
Protected Sub LoginButton_Click(ByVal sender As Object, ByVal e As EventArgs) If Membership.ValidateUser(LoginUser.UserName, LoginUser.Password) Then FormsAuthentication.RedirectFromLoginPage(LoginUser.UserName, True) End IfEnd Sub