View Single Post
  #7 (permalink)  
Old May 6th, 2010, 06:55 AM
otuatail otuatail is offline
Registered User
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

Don't know how this is done. I do know about creating tables of users and passwords.

I added this to the web.config

<authentication mode="Forms">
<forms name="Wrox" loginUrl="Login.aspx" path ="/" />

<deny users ="*" />

And added

protected void submit1_Click(object sender, EventArgs e)
FormsAuthentication.RedirectFromLoginPage(User.Tex t, true);

to a login form. However it does not redirect me to the page I went to. It stays on the login page.

Also I am using a stand alone PC now server or network,
So using the built-in Membership and Roles features would not work.