Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Ajax not supporting with apache 2.2.21 |
|
Author |
|
Rajnish
Joined: 03 Nov 2011 Posts: 1
|
Posted: Thu 03 Nov '11 11:40 Post subject: Ajax not supporting with apache 2.2.21 |
|
|
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: 64 Location: Germany, Heilbronn
|
Posted: Sun 05 Feb '12 16:22 Post subject: |
|
|
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 |
|
|
|
|
|
|