Author: mwheeler | Posted on: 7/2/2009 9:57:55 AM | Views : 253

Here is a little background on what I am trying to do...
We are in the process of building a web site where non-authenticated users are allowed to view most of the pages on our web site. The login usernames and passwords are stored in a custom SQL2008 database. The difference between a non-authenticated user and an authenticated user are:
Certain users (web site administrators) can view certain pages while others cannot; Non-Authenticated users can view all pages, but cannot download content while Authenticated users can. (If a user is authenticated, the Download button is visible otherwise it is not visible). Most of this can be accomplished by retreiving the information from the cookie and then validating the user name, etc.
Here is our question / issue:
The custom login control that we have created is located in a Master Page using ASP.NET 2.0 Form Authentication. Based on the available settings ...

Go to the complete details ...