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 ForumsClientAPIClientAPIXmlHttpRequest without Client APIXmlHttpRequest without Client API
Previous
 
Next
New Post
9/29/2006 4:32 AM
 

Hi,

Is it possible to use xmlhttprequest in DotNetNuke without using the Client API ?

I tried this script (only for IE) :

var req = false;
req = new ActiveXObject("Msxml2.XMLHTTP");
req.open("POST", "http://..../test.aspx", true);
req.onreadystatechange = function()
{
 if(req.readyState == 4)
  if (req.status == 200)
  {
            alert('OK');
  }
  else
      alert("NOK");
}
req.send(); 

And it seems to lose all my session variables.

Thank you for your help.

Philippe.

 
New Post
9/29/2006 9:49 AM
 

Is it possible to use xmlhttprequest in DotNetNuke without using the Client API ?

Yes, though you will be responsible for making it work cross-browser.


 
New Post
9/29/2006 10:14 AM
 

Thank you for your answer.

So, I understand that I can use xmlhttprequest without DotNetNuke Client API.
It's a good news for me because I have to use scripts that have been developped by someone else using xmlhttprequest.

But when I try :

- I'm logged as admin
- I call xmlhttprequest
- I lose my connection as admin

Have you ever heard about something like that ?

Thank you.

Philippe.

 
New Post
9/29/2006 12:09 PM
 

Have you ever heard about something like that ?

No.  By using someone else's scripts it is kind of hard to figure out what would be going on... 


 
New Post
10/5/2006 6:28 AM
 

Hi,

Finally, i used the Client API and now it works.

Thank you for your help.

Philippe.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIXmlHttpRequest without Client APIXmlHttpRequest without Client API


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