I use the same solution and it works for me (and my clients, too) :)
Look into the asp.net membership provider it does everything for you.
If you have not considered Built-in Security Features for Memberships and Roles management, have a look at these tutorials. What you are about to start working on, might have already been implemented.
- Asp.net User Login Count and LastLogin
- How to count the number of code lines in a C# solution, without comments and empty lines, and other redundant stuff, etc?
- LINQ Source Code Available
- prevent unnecessary cross joins in count query of generated sql code
- .NET 4 Code Contracts: "requires unproven: source != null"
- Weird Entity Framework error: login failed for user
- Exception in System.Data.Entity.dll but was not handled in user code
- creating Linq to sqlite dbml from DbLinq source code
- How to debug this or possible causes? System.NullReferenceException was unhandled by user code on Moq.Verify
- entity exception was unhandled by user code
- System.MissingMemberException was unhandled by user code
- An exception of type 'System.ArgumentException' occurred in EntityFramework.dll but was not handled in user code
- Entity Framework Code First override onModelCreating() for TPT Inheritance Screwing Up Identity User and Role Models
- is there any linqish way to save user form data - Re factoring my code
- source code for LINQ 101 samples
- Join two tables sortby user click count then everyone click count using linq
- Find a Class object's Item with Maximum character count in a User Defined List
- List or Array of String Contain specific word in Html Source Code
- IndexOutOfRangeException was unhandled by user code
- Error: FormatException was unhandled by user code in Linq how to solve?
- c# Linq or code to extract groups from a single list of source data
- Due to LINQ Retrieving of Record data's i have this error: NullReferenceException was unhandled by user code
- Error: An exception of type 'System.ArgumentException' occurred in System.Data.dll but was not handled in user code
- How to call an Sql User defined Function using Entity frame work Code first approach with LInq c#
- Convert string to int in one line of code using LINQ
- LINQ with groupby and count
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- LINQ - Left Join, Group By, and Count
- Value cannot be null. Parameter name: source
- Linq: GroupBy, Sum and Count
- Check if a string is sorted
- What is the difference between Object and Context in Linq/Entity Framework
- Asp.Net Core Linq how to perform a nested groupby with a many to many relationship?
- Error when Copying Query from linq to Datatable
- How to find duplicates in a list of strings of server path names
- Linq Divide Object into multiple object by Property
- The cast to value type 'Int64' failed because the materialized value is null
- Difference of LINQ .Aggregate with result selector parameter or directly calling method
- find missing column name and row no of datacolum in linq
- How can i compare date without time part in linq?
- StartsWith() doesn't translate to Like('abc%') in LINQ
- Set key inside order by clause in linq dynamically
- How to search any items of a list within a string using Linq
- Linq Query Troubles
- Conditional filter on list
- Apply inner expression filter on IQueryable
- How to distinct for a list of list using LINQ?
- Multiple rows update without select
- get all parents of a path with linq
- How to access properties of a linq query in aspx page?