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...Child Portal Module LogoutChild Portal Module Logout
Previous
 
Next
New Post
1/8/2007 7:51 AM
 
Hello,

I have recently encountered a problem with automatic logouts within a child portal for every role except the host role (including portal admin).  This only occurs when using a third party module that utilizes ajax for functionality.  When a user navigates to the page with the third party module, the user gets logged out as soon as they try to navigate to another page.  This only occurs in child portals and does not seem to effect the core modules included with DNN.

I have been able to implement a workaround by adding all child portal users into the parent portal.  By doing this, it seems to solve the problem.  This, however, is not a good long term fix for moving forward with my solution.

Has anyone else experienced this issue?  Does anyone have an recommendations for correcting the issue?

I am using DNN 4.3.7.

Any thoughts or recommendations are most appreciated as this issue is preventing me from moving my portal solution into a production state.
 
New Post
1/8/2007 12:28 PM
 
There used to be a similar problem with ASP.Net 2.0 validation controls. The scripts for these controls used a .axd extension. However, the links did not include the portal ID so when DNN attempted to resolve the portal it failed and DNN logged out the user. This problem was fixed, however I just looked at the source code for DNN (4.3.6) and it will authenticate for .aspx or .asmx pages. Since this is an AJAX module, my best guess is that it’s using a web service with a .asmx extension and isn’t passing the portal ID with the request.

The fact that host accounts and members of the main portal aren’t logged out is consistent with the behavior I saw with the .axd extensions. Host accounts are valid with any portal so authentication always passes. DNN defaults to the main portal so members of this portal wouldn’t be logged out.

To fix this you’ll probably have to have the 3rd party module developer include the portalID in the request for the .asmx web service. Or you could modify the OnAuthenticateRequest method in the DNNMembershipModule.vb module to exclude the 3rd-party .asmx web service.

For the long term, it would be nice if DotNetNuke added a section to the web.config so you could specify exclusion filters to URLs that should not do authentication.

Brian

Qualtiy DotNetNuke modules and custom development; we've been serving the DNN community for over 2 years and have hundreds of satisfied customers. Let us serve you today.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Child Portal Module LogoutChild Portal Module Logout


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