Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronize login/registration with another applicationSynchronize login/registration with another application
Previous
 
Next
New Post
10/16/2006 5:18 PM
 

I have an ASP application which I will be including in my portal through a menu item and an Iframe on a page.  I would like to synchronize the registration and login for the DNN portal with the other application so that users will only have to register and or login once to have access to both the portal and the app. 

The application can use the standard fields that DNN uses to populate it's registration fields.  It has an SQL database that resides on the same server as DNN's.  I will need the DNN registration form to create a record in the app's database and fill in the appropriate fields with username and password.  Once the registration process is successful I will need the login process of DNN to write a few cookies that will hold the login info for the app.

I really need help with this - I have a fair comprehesion of ASP but ASP.Net confuses the hell out of me!

Any and All is greatly appreciated and desperately needed!

Thanks,  Tim

 
New Post
10/16/2006 10:01 PM
 

I hate to be the bearer of bad news, but what you're describing is a difficult problem to solve.  There are a number of integration issues that you describe that will be non-trivial to coordinate.  Your first step may very well be to take a step back and pick up a good .net book and gain some deeper knowledge of the framework.  You'll need it to tackle the problem!

Not to discourage you, though.  The problem is solvable.  The first place you're going to need to look is at the DNN membership provider, and the concrete asp.net membership provider.  You're very likely going to want to inherit your own hybrid provider from this, and extend it as necessary.  Look at the AspNetMembershipProvider.vb class in the Library/Comonents/Providers/Membership directory of the SOURCE download (I'm reciting the path from memory, so forgive me if it differs slightly).

If you're looking for something quicker, I believe there is a module for sale that is supposed to handle login syncronization between two systems.  You might want to search for that.

Finally, be very careful about planning on hosting an ASP application in an IFRAME.  IE has some serious cross-scripting restrictions in place that heavily restricts cookies within IFRAMES (IIRC, you can't do any cookie stuff in an IFRAME).  Search these forums for other people who have noticed the same thing and see if they've resolved it.  Make sure this will work for your application before you spend a lot of time on it :)

Good luck!

B


Brandon Haynes
BrandonHaynes.org
 
New Post
10/17/2006 5:23 AM
 

This is usually called "single sign on", and there are several discussions about it and solutions mentioned in these forums. Have a look at:

Automatic Signin to DNN

Looking for a Single Sign-On Module

Single Sign-On with Other Web Apps

There's also this: Building your own Membership Provider

 
New Post
10/17/2006 1:10 PM
 

Thanks for the help!  I'll look into these.

 

Tim

 
New Post
10/17/2006 1:10 PM
 

Thanks B - I'll have a look for some mods that exist 1st!

Tim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronize login/registration with another applicationSynchronize login/registration with another application


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out