Posted on: 4/18/2011 5:54:28 PM | Views : 325

Hi All,
I created a webapp.
I have a site.master master page , Login.aspx (Content pafge) , Default.aspx (web page)s
Inside my web.config <authentication mode="Forms" > <forms name="FormAuthApp" loginUrl="\login.aspx" defaultUrl="\login.aspx"> </forms> </authentication> Inside my web.config <authentication mode="Forms" > <forms name="FormAuthApp" loginUrl="\login.aspx" defaultUrl="\login.aspx"> </forms> </authentication> Inside my Login.aspx.cs protected void LoginButton_Click(object sender, EventArgs e) { // Three valid username/password pairs: Scott/password, Jisun/password, and Sam/password. string[] users = { "Scott", "Jisun", "Sam" }; string[] passwords = { "password", "password", "password" }; ...

Go to the complete details ...