Education/Bit 18th
LoginStatus의 LoginUrl 설정 By 용호
★용호★
2009. 12. 31. 15:58
<asp:LoginStatus ID="LoginStatus1" runat="server" />
사용시 특성 정의가 기술 되지 않을 경우 Default로 Login.aspx 파일이 잡힘
이를 변경코자
web.config 파일의 <authentication> 요소 하위 <forms> 요소의 loginUrl 특성에서 페이지를 지정
ex)
<authentication mode="Forms">
<forms loginUrl="~/핥핥.aspx"></forms>
</authentication>