AJAX (Asynchronous JavaScript and XML) is a set of development techniques for creating interactive web applications, using asynchronous communication between the client and server.
Questions tagged [ajax]
64 questions
2
votes
2 answers
TIME_WAIT Info (reduce)
I have a ajax application that makes a request every 3 seconds, the requested page sets the header to (header("Connection: Keep-Alive, close");) then performs a database query and returns the latest data.
The value for TIME_WAIT is 60 seconds, so…

Akash
- 229
- 3
- 7
2
votes
1 answer
AJAX Push Engine: Can't contact APE Server
I'm trying to set up the AJAX Push Engine (APE) on my Mac, running Mac OS X 10.6.4 and Apache 2.2.14
When I run the APE server, this is the output:
Hristo$ sudo ./aped
Password:
_ ___ ___
/_\ | _ \ __|
/ _ \| _/ _|
/_/ \_\_| |___|
AJAX…
user45687
2
votes
1 answer
Why must the XHR status be set before echoes in PHP?
Perhaps this question belongs on Stack Overflow or another site instead, in which case please tell me and don't just downvote; I will gladly move it.
Anyway, I'm just learning the very basics of server management and I was playing around with my own…

Guy
- 123
- 5
1
vote
2 answers
CNAME/AJAX subdomain point to domain
Could anyone let me know how to use a subdomain for ajax calls to a main domain?
I know it requires the use of CNAMES and whatnot, but I'm a bit clueless still. I want to make AJAX calls to ajax.samedomain.com, which in turn will reference to…

Kris Sauquillo
- 227
- 3
- 7
1
vote
0 answers
ajax/jquery causes "error 500" on Apache2 (php-fpm enabled) server
Just set a VPS with this guide:
"https://www.howtoforge.com/tutorial/perfect-server-ubuntu-18.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/".
Everything looked perfect! but I started to notice (as I populated the server) that…

Juano Holograma
- 11
- 3
1
vote
0 answers
High percentage of ajax errors
My company's website uses jQuery ajax to submit forms. A high percentage (5% - 10%) are failing, causing the ajax's error handler to run in the client's browser. The error handler looks like this:
$.ajaxSetup({
type: 'post',
error: function…

wezten
- 113
- 5
1
vote
0 answers
htaccess require host domain not working correctly
I have a folder full of folders with json files. I want to restrict AJAX requests to these files to certain domains.
I made an htaccess file to restrict this but it isn't work. My htaccess is as follows:
…

abetwothree
- 111
- 2
1
vote
1 answer
Apache log - file does not exist
I have quite a few of these in Apache logs piling up every day:
[Mon Jun 09 20:42:58 2014] [error] [client 180.153.214.181] File does not exist: /home/user/public_html/ajax.googleapis.com, referer:…

Ivan
- 893
- 2
- 9
- 23
1
vote
0 answers
TMG Extending the timeout on AJAX requests
We have a web app that is designed as a single page application (SPA) that uses AJAX. Our clients have a problem when this is hosted behind TMG. Because only one page request is made at the start of use the session times out. After TMG times out and…

Aran Mulholland
- 111
- 3
1
vote
0 answers
IE 10 HTTP 401 Error on AJAX POST
I've been chasing down an issue and decided to make the most basic reproduction of the issue possible in hopes that a simplified question will help me resolve this.
I am receiving a 401 error when posting to a web service via AJAX in JavaScript. I…

jon3laze
- 141
- 1
- 2
- 8
1
vote
1 answer
Do I run an install or something for Ajax on windows 2008 R2 hosting web application?
I have an application that runs fine on windows 2003 environment with Ajax panels, checking to see if when I move this application to a new windows 2008 server R2, would I need to install the Ajax toolkit and then the Ajax minifier on the server…

Ikram M.
- 121
- 3
1
vote
0 answers
How to prevent htaccess from prompting authentication for indirect access to a file via ajax?
First off my terminology is probably wrong but when I hear "direct access" I think someone means that anyone has read privileges to a file from the url. Is my understanding of what "direct access" means correct?
I'm using htaccess to prevent direct…

user784637
- 1,542
- 7
- 35
- 52
1
vote
1 answer
CentOS: AJAX/jQuery not working
In a nutshell, I have an unmanaged VPS. At one time, it had Ubuntu 10.10 server on it, then I reinstalled it with CentOS 6 and updated it to CentOS 6.2. Now, the problem is, the AJAX/jQuery shoutbox has ceased working (I assume it uses one of the…

Australiya
- 11
- 1
- 3
1
vote
1 answer
Apache 2 on Ubuntu returning 500 with no known cause?
NOTE: This question has been resolved! Please see below for the solution in my case if you are having a similar issue!
Background:
This is a PHP/MySQL based, database driven application that makes heavy use of AJAX, and nearly all requests to the…

Carson C.
- 141
- 1
- 7
1
vote
1 answer
Capabilities and pricing of Amazon's cloud computing platform?
I'm finding it very hard to estimate how much my web application might cost running in Amazon's cloud? My app is similar to stackoverflow.com - asp.net, ajaz, sql database. Can anyone estimate how much it might cost to run stackoverflow in Amazon's…
None