Products

Solutions

Learn More

Partners

Community

Blog

About

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 ...Child Portals - Ajax calls fires twice one with response code 302 and another with 200Child Portals - Ajax calls fires twice one with response code 302 and another with 200
Previous
 
Next
New Post
10/19/2016 8:37 AM
 

Hello Team,

I have one parent portal and one child portal. Now, from child portal's page I make an ajax call as follows : 

 $.getJSON(siteurl + '/DesktopModules/MyServices/API/Welcome/GetPropertiesNegativeBalance/?portalId=' + portalId)

So this ajax call gets fired twice when called from child portal and only once from master portal.

For the first call I get response code 302 with Response body :

de

<html><head><title>Object moved</title></head><body>

<h2>Object moved to <a href="http://www.curacaodemos.com/DesktopModules/MyServices/API/Welcome/GetPropertiesNegativeBalance?portalId=1">here</a>.</h2>

 

</body></html>

And For the second call I get response code 200 with expected Response body.

But then it logs out the current user.

This doesnt happen when tried with parent portal's user.

Please update with the reason and the solution for the issue.

 
New Post
10/21/2016 2:27 AM
 

Hello Team,

I am looking to solve this issue as soon as possible.

Could you please help me to resolve this.

Thanks.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child Portals - Ajax calls fires twice one with response code 302 and another with 200Child Portals - Ajax calls fires twice one with response code 302 and another with 200


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.
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND