Use an ASP.NET Profile-Provider
.
https://web.archive.org/web/20211020111657/https://www.4guysfromrolla.com/articles/101106-1.aspx
You can store any kind of additional information even binary(images).
I've used The SqlProfileProvide
myself in my currect application to let the user chose his startpage self.
Therefor i only needed to add this to the web.config
:
<profile defaultProvider="AspNetSqlProfileProvider">
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="RM2ConnectionString" applicationName="/ERP"/>
</providers>
<properties>
<add name="Startpage"/>
</properties>
</profile>
And i could write this property in codebehind:
if(User.Identity.IsAuthenticated)
{
HttpContext.Current.Profile.SetPropertyValue("Startpage", startPage); //startPage is a String
HttpContext.Current.Profile.Save();
}
and read it in the following way:
if(User.Identity.IsAuthenticated)
{
Dim user = Membership.GetUser();
Dim startPage = HttpContext.Current.Profile.GetPropertyValue("Startpage") as String;
}
You can store anything you want, see the link above for further informations.
aspnet_Users
table via a common, shared PK (acting as a FK in your additional table)aspnet_Users
table, create a foreign key relationship between those two tables, and then fill in the data as needed. You'll need to be able to get all that data when the registration completes - never done that myself, but the "4 Guys from Rolla" website (mentioned by Tim in his response) has tons of good articles on the ASP.NET membership system and how to customize and extend it