
May 28th, 2002, 08:34 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Web.config (Not logged in, logged in)
<i><b>Originally posted by : Christoffer (ChristoffDahl@hotmail.com)</b></i><br /><br />Hi!<br /><br />I have created a login page. But on the login page the user should be able to go to other pages when not logged in. <br /><br />Example: In the Menu there is a link called "Help", the user should be able to go to that page even if he / she is logged in or not logged in. <br /><br />What happens now; the user just can go to that page when logged in, but cannot reach it when not logged in. <br />Is this cause of in the Web.config I have declared a protection of all pages ?<br /><br />The code in web config og authentication:<br /><br /> <authentication mode="Forms"><br /> <forms name=".ASPXFORMSDEMO" loginUrl="Logon.aspx" ><br /> protection="All" path="/" timeout="30" /><br /> </authentication> <br /> <br /> <authorization><br /> <deny users = "?" /><br /> <allow users = "*" /><br /> </authorization><br /><br />And how should I make the pages avaiable depending on the user is logged or not logged in ?<br /><br />I hope for a respons..<br /><br />Regards,<br /><br />Christoffer
|