当前位置: 代码迷 >> ASP.NET >> Forms認證模式時,註冊頁面怎麽做啊解决方案
  详细解决方案

Forms認證模式時,註冊頁面怎麽做啊解决方案

热度:1029   发布时间:2013-02-25 00:00:00.0
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>
----------------------------
  相关解决方案