On the right you find the list of articles published on this Web site in the category ASP.NET 4.5 conveniently split up in pages.
If you can't find what you're looking for, try another category from the sub menu
|Site Section||ASP.NET 4.5|
|12/18/2013 5:02 PM|
A question that comes up often on forums such as p2p.wrox.com is how to let users manage their own data stored in a database. Probably the easiest way to accomplish this is to keep the user name in a separate column. Then when you query the data, you add a WHERE clause that retrieves only those rows that matches the user's name. Likewise, when inserting data, you store the user name along with that data.
But how do you capture the user's name? In the remainder of this article you see a two different ways to retrieve the user name of the currently logged in user.
Over the past couple of weeks I received a number of e-mails from readers with more or less the same question: how do you require users to confirm their e-mail addresses before they are allowed to log in with an account they just created. Rather than answer them individually by e-mail, I decided to write this article to explain the principles.