Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Problem with users from different portals having same username
Previous Previous
 
Next Next
New Post 5/3/2008 11:02 AM
User is offline r_honey
131 posts
9th Ranked


Problem with users from different portals having same username 

I have created two portals on my site. Two different users registered with the same username on the two portals.

I was astonished to see that when one of those users changed his password for his portal, the password for the other user with the same username on the other portal was updated automatically.

Is it a problem with my settings or with DNN core??? I mean when working with separate portals on the same host, the portals need to have their own users, who should not interfere with users of other portals!!!

 
New Post 5/3/2008 3:02 PM
User is offline Stephen Nill
222 posts
9th Ranked


Re: Problem with users from different portals having same username 

To my knowlege, this isn't supposed to be possible. My understanding is that, by design, DNN prohibits the same username from being used on more than one portal of a single installation. In fact, I attempted to report this as a bug on Gemini (others had as well), but was told that it is a feature of DNN. I then put in a request to change this behavior, as it was creating some real-world headaches for many of our users who happen to be participating on more than one portal of ours.

So, my eyebrow went up when I read your posting. What version of DNN are you running?

Steve

 
New Post 5/3/2008 4:14 PM
User is offline cathal connolly
2748 posts
www.cathal.co.uk
5th Ranked










Re: Problem with users from different portals having same username 

you're both correct, but theres a subtlety about user's cross portal. When you have multiple sites (either child or parent portals) running off the same database, then once a username has been used it's not available to any other portal. However, if the user tries to register with the same username and password combination to another portal, we can see that this is the same user, so we don't add a new user record to the users table, but instead reuse their ID when associating the user with that portal i.e. you end up with 1 user record, but 1 record for each portal that user exists in. Thats why if you change the password in one it changes for the other - it's actually the same user in each case. 

Cathal

 
New Post 5/3/2008 11:20 PM
User is offline r_honey
131 posts
9th Ranked


Re: Problem with users from different portals having same username 

Yes, I already found that while studying the architecture of DNN yesterday night...

And I logged in today to convey this to other users, but Cathal has already done this... Still, I would like to put in in my words as follows:

"DNN has a built in-assumption, that whenever there is an attempt to register with the same username in 2 or more portals of a single DNN installation, the end-user trying to do so is the same. Owing to this, the login credentials across these multiple portals are maintained uniquely. Thus, changing them at one portal automatically gets reflected in the other portal. However, the Profile data of a user is maintained per portal. So, this same user can have differing profiles across portals. This is even desirable as the profile properties for each portal are set independently by the profile admin."

My analysis tells me that this behaviour of DNN has resulted from an attempt to being integarted with Microsoft Membership API, which does not support virtualization within a single ASP.NET application (i.e. separate & independent sets of users within a single  application install).

In some way, this makes sense when the portals are separate services from a single provider (like Orkut, Gmail, Calendar etc. from Google).

However, for hosts looking to accomodate multiple clients in a single installation, this is troublesome.

And that is exactly what I am also looking for. And I have also found a way out. I have decided to create & use my own registration form for users. And I am going to make a user's e-mail id his/her username. That would only require me to create two controls, one for creating users, the other for allowing them to change their credentials. Except fot that, the concept can entirely integrate with DNN. Thus, if a user uses same e-mail id to register on different portals hosted together, that automatically means that the user is the same, satisfying the DNN assumption.

However, I wold like the DNN team to underline this assumption more explicitly in their documentation, and books like Professional DNN that are from the same team.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Problem with users from different portals having same username
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com
CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP