logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Ajax not supporting with apache 2.2.21

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
Rajnish



Joined: 03 Nov 2011
Posts: 1

PostPosted: Thu 03 Nov '11 11:40    Post subject: Ajax not supporting with apache 2.2.21 Reply with quote

When I upgrade the apache from version 2.0 to 2.2 then I found that it's not supporting to Ajax query string. Sometime it works fine and sometime it does not work.

When I debug the code then I found some values in the output of request.getParameter("") but sometime it's null.

When I revert the apache version as 2.0 then it's working smooth and perfectly.

I would be gratefull if any one can answere this issue.

Ajax code
queryString = "test1=10&test2=15";
http_request.open('POST', url, true);
http_request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); http_request.send(queryString);
Back to top
maba



Joined: 05 Feb 2012
Posts: 53
Location: Germany, Heilbronn

PostPosted: Sun 05 Feb '12 16:22    Post subject: Reply with quote

Hello,

this is very little detail about the problem. In principle both Apache versions speak HTTP. AJAX is just a client side technology to send HTTP requests from within an already loaded web page.

I would suspect that the AJAX receiver is not properly implemented. Is your Javascript callback funktion checking the status of the reply.

Best regards
maba
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1