日期:2014-05-18  浏览次数:20385 次

Forms認證模式時,註冊頁面怎麽做啊?
若採用   Forms   認證模式,在沒有人證前會被   redirect   到   登陸畫面(login.aspx)
但若不是會員,需要新註冊時,現在想讓用戶訪問   reg.aspx   進行新規註冊,
但當訪問
reg.aspx   時,還是被redirect   到   login.aspx   頁面,
該如何做啊才能讓用戶正常訪問   reg.aspx頁面?

------解决方案--------------------
<location path= "reg.aspx ">
<system.web>
<authorization>
<allow roles= "* " />
</authorization>
</system.web>
</location>
----------------------------