首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2012-01-19 
Forms認證模式時,註冊頁面怎麽做啊?若採用Forms認證模式,在沒有人證前會被redirect到登陸畫面(login.aspx)

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>
----------------------------

热点排行