我在asp.net網站中使用表單身份驗證。目前我在web.config中有我的身份驗證設置如下。登錄前登錄表單認證登錄頁面
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="60" cookieless="UseCookies" defaultUrl="~/landing.aspx" protection="All" slidingExpiration="true" />
</authentication>
我想瀏覽之前的Login.aspx頁面landing.aspx頁面然後在登陸頁面上點擊一個按鈕去login.aspx的頁面。
然後......這樣做。 – 2013-03-19 03:05:50