Secure page with C#.NET
-
Hi all, I want secure pages with C#.NET and I write this code in web.config for this prepose <authentication mode="Forms"> <forms name="myCookie" loginUrl="login.aspx" timeout="30"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="yekdose"/> <deny users="?"/> </authorization> but in the first page I didn't access to another pages. Please hlp me. Thanks in advance.
-
Hi all, I want secure pages with C#.NET and I write this code in web.config for this prepose <authentication mode="Forms"> <forms name="myCookie" loginUrl="login.aspx" timeout="30"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="yekdose"/> <deny users="?"/> </authorization> but in the first page I didn't access to another pages. Please hlp me. Thanks in advance.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
Because programming is an art, not a science. Marc Clifton
I gave up when I couldn't spell "egg". Justine Allen