Posted on: 2/26/2011 1:25:23 PM | Views : 305

How to implement Forms Authentication.....???? Urgent Need
I google and done the following code but dont know is it correct or not and how it works....plz if any1 knows could u plz help
I have modulesNames and inside that i also have linkNames which are accessible to user by role
When user logsin i am fetching the moduleNames and LinkNames in a list from database which are accessible to user by role.
 
this is my code: how to do it.....im stucked :(
In web.config
    <authentication mode="Forms">
            <forms loginUrl="~/LoginTest.aspx" timeout="2880"/>
        </authentication>
<authorization>
      <allow roles="Admin, Customer, Accountant,Security Admin,Security Staff,US Manager,Staff " />       
 </autho ...

Go to the complete details ...