• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB.NET logging in sessions

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?
 
Back
Top