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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Integrating another app with DNNIntegrating another app with DNN
Previous
 
Next
New Post
4/27/2010 3:00 AM
 

I have an existing ASP.NET application that I'd like to integrate with DNN. I've moved all the database tables into the DNN db. I am displaying the other app within an iframe on a DNN page. How do I integrate the users so when you log into DNN you are also logged into the other app? Is it possible or do you have to convert the application to a module?

I realize this is probably not a simple answer, but any direction is appreciated.

Thanks,

Chad

 
New Post
4/27/2010 4:12 AM
 
you don't need both apps using the same database, but if you want to use single sign on, you need to access DNN authentication, e.g. by using the same component, i.e. Microsoft membership block with same application ID. you should place your application in a virtual folder of your DNN web site.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/27/2010 11:38 AM
 

Thanks Sebastian. A couple of clarifying questions:

  1. By Microsoft membership block are you referring to the <membership> section of the web config file in the secondary application? So in the below just changing the connection string to be a the DNN connection string and the applicationName value to be "DotNetNuke" (which is what it is in the DNN application)? I've tried that. changed the application ID in the aspnet_users and memebership tables to match the DotNetNuke application ID. I can still login to the secondary app within the iframe of a DNN page, but attempting to use that login on DNN itself yeilds an unknown user. Similarly, registering a new user on DNN, that user is not recognized wheh I attempt to login with those credentials on the secondary app within the iframe??? If you are able to get this to work, when you authenticate on DNN, then try to access a page that requires you to be logged in on the secondary app, what does it check to know you are already logged on?

<

<

<

<

</

</

membership userIsOnlineTimeWindow="20">providers>clear/>add connectionStringName="ConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="TestApplication" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>providers>membership>

2. What do you mean by a "Virtual Folder" within the DNN web site? An IIS Virtual Directory? Could you please clarify? 

3. I wanted the tables in the same DB in order to be able to have sql views that join with the aspnet_users table to display user name and for username to be able to be a WHERE condition for those views. I'd thinik you could do this in separate DBs but you have to do a few extra steps by first to get the User ID from Username and then query my child tables by userid. Am I missing something?

Thanks again,

Chad

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Integrating another app with DNNIntegrating another app with DNN


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