I have a dnn site where there are multiple portals. It is very likely that the same users will register on more than one of these portals, and they will want to use the same username. Also in another area, I automatically register them when they send an enquiry. For this I use the email address as the username.
Because of data protection on these sites, I can't use the same user record, it needs to be different. But the username in the Users table has to be unique. To get around this I prefix each username with the portal id. I had to run a dataupgrade and change the all the usernames (in the Users table & the aspnet_Users table). This works fine if the user has not clicked the "Remember Me" button. If they have, it gives an "Object reference not set to an instance" error, they can't log out so can never get into the site.
Can anyone help with that - or suggest another way of having the same username accross more than 1 portal without sharing the user record.
Thanks
Richard