Author: hayashiryo | Posted on: 6/17/2008 7:37:50 AM | Views : 486

Hi,
I have a login system. The pages I have are essentially:
1) Sign up as employee page (signup.aspx)
2) Login page (Login.aspx)
3) Pages that only login users can see are in a "Employee" folder (e.g. Employee/Homepage.aspx).
 
For the pages in the Employee folder, I set it such that only users that are in the "Employee" role can have access. All other user types are denied.
ie, in the Web.config in the Employee folder, I have:

        <authorization>
            <allow roles="Employee" />
            <deny users="*" />
        </authorization>
 
 
Now, in my signup.aspx, I used a CreateUserWizard control. When a user sign up successfully, I will ...

Go to the complete details ...