Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:03:51+00:00 2026-06-02T06:03:51+00:00

I am using Asp.Net/C# in my application , I am using Asp.Net built-in membership

  • 0

I am using Asp.Net/C# in my application , I am using Asp.Net built-in membership framework .The installation of aspnet_regsql services have been properly installed on my database.The aspnet_users table however contains basic information about the user , How do I add additional information about a user.Should I modify the table itself or should I use another table and link it with aspnet_users table.Also the Membership.ValidateUser(username,password) works well , but I have a requirement where the login is based on the user code.How can I achieve this , is it possible with built-in Membership.
Any suggestions are most welcome.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T06:03:52+00:00Added an answer on June 2, 2026 at 6:03 am

    Use an ASP.NET Profile-Provider instead.

    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 current application to let the user himself select his startpage.

    Therefor i just 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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am using asp.net built-in membership and role provider. In my application Admin Create
I have an application that is built using ASP.NET, with an embedded Silverlight Object
I've built an MVC 2 application (ASP.net 3.5) using Entity Framework, and am doing
I've heard something and seen some examples of web application built using ASP.NET /
I'm running into a case where an ASP.NET application using the built-in globalization facilities
I have a lot of data-entryists using my ASP.NET application and we have all
My asp.net application is not using formsauthentication. Instead we make a call to database,
I am using built-in asp.net Role and membership provider in my website. when user
I have a web site built using asp.net with ugly URLs like /DisplayContent.aspx?id=789564 .
I have an Asp.NET 3.5 application with security/authentication. I have a second application (built

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.