edit/extend username in login control

Discussion in 'ASP .Net' started by =?Utf-8?B?em5hcHBh?=, Jul 23, 2006.

  1. Hi
    I have a login form where the username is split over two textboxes. I
    override Login_Authenticate method so I can merge the two fields there (I
    also do some other stuff). The Users authenticate OK, because I send the
    correct merged username to the Membership.ValidateUser() method. But when I
    access the value Context.User.Identity.Name it's only the last part of the
    username (the part from the textbox named "UserName"). How can I override
    this at login so that the Context.User.Identity.Name becomes correct?
    =?Utf-8?B?em5hcHBh?=, Jul 23, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Keith Patrick
    Replies:
    1
    Views:
    2,081
    Keith Patrick
    Dec 2, 2005
  2. David R.
    Replies:
    1
    Views:
    6,003
    Christopher Reed
    Jan 8, 2006
  3. JL
    Replies:
    0
    Views:
    339
  4. kai
    Replies:
    2
    Views:
    277
  5. Shailesh Patel
    Replies:
    0
    Views:
    435
    Shailesh Patel
    Nov 8, 2006
Loading...

Share This Page