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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationopen window kills authentication (urgent)open window kills authentication (urgent)
Previous
 
Next
New Post
10/21/2009 7:26 AM
 

I have a custom module that uses some javascript to open another window.  This window causes parent window to loose user authentication and refresh and close to root of portal.  Any clues as to why?

<script language="javascript">
function launchLog(strFid){
 var strBar = 'directories=no,location=no,menubar=no,titlebar=no,toolbar=no,scrollbars=yes,width=800,height=600,resizable=yes';
 var strLoc = 'https://mySite/DesktopModules/Wrallp.fileManager/viewFileLog.aspx?pid=445&fil=0&fid=' + strFid;
 var winEdit = open(strLoc,'FileActionLog',strBar);
 }
</script>

Need is urgent.  Post is old and was in extend-it sub.

 
New Post
10/21/2009 1:04 PM
 

Hi Steve

Is this using the standard DNN authentication or one of the other providers? I can't see anything off the top of my head that might cause the problem other than possibly the https in your strLoc is causing a re-authentication on the site so when it kicks back to the main page that user is no longer authenticated and you go to the main page.

 
New Post
10/22/2009 11:28 AM
 

Thanks for the response mike.

The site has ad authentication enabled but will kick off a dnn authenticated user as well.  I tried with http with no change in behavior.  Window opens from Javascript call, close child window, click on parent and anyone is logged off and brought to home page.

Allow me to rephrase this:  I have a custom module.  That module needs to be open with two parameters set prior to being open.  The way that I have done this is to create "pages" via the "add" in the page functions.  At the bottom it allow you to link to page within site or "external resource"  I have to select external resource as I have parameters that I need to pass via querystring of response.  So I enter entire url.  https://mysite/myportal/home/tabid/7389/fd/712/default.aspx.  This link works perfectly but if I use the javascript to open a child (or even an anchor) the problem described in the original post happens when the parent is subsequently clicked.

Is there a better way to open a page on a portal with an additional parameter?

 Site is a 4.8.2 upgrade

 
New Post
11/23/2009 11:34 AM
 

I found the answer to this. 

Include ?tabid=x&portalid=x&uid=x in your url.

 

 

 
New Post
11/23/2009 12:51 PM
 

Glad you got it sorted out Steve.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationopen window kills authentication (urgent)open window kills authentication (urgent)


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