SoundTheSurrender
Diamond Member
I have a site with two masterpages, one for the admin and one for the user/customer.
There is a admin login page and a user login page.
People can visit this site and look at the Homepage, Gallery etc... What I want to authenticate is when they try to go to AdminHome.aspx or CustomerHome.aspx.
These two parts need to be authenticated, they should redirect to AdminLogin.aspx or CustLogin.aspx.
I have a customer table on a SQL 2005 database that is used for customers to login. I haven't set up a admin table yet.
When a admin logins, he had a admin homepage and various links that he clicks on to do administrative things. The customers gets a home page as well and various links he/she can click on.
How would I go about making sessions and logouts for these two logins? Is there any good guides out there for this criteria?
There is a admin login page and a user login page.
People can visit this site and look at the Homepage, Gallery etc... What I want to authenticate is when they try to go to AdminHome.aspx or CustomerHome.aspx.
These two parts need to be authenticated, they should redirect to AdminLogin.aspx or CustLogin.aspx.
I have a customer table on a SQL 2005 database that is used for customers to login. I haven't set up a admin table yet.
When a admin logins, he had a admin homepage and various links that he clicks on to do administrative things. The customers gets a home page as well and various links he/she can click on.
How would I go about making sessions and logouts for these two logins? Is there any good guides out there for this criteria?