edit/extend username in login control

G

Guest

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top