Questions tagged [ajax]

AJAX (Asynchronous JavaScript and XML) is a set of development techniques for creating interactive web applications, using asynchronous communication between the client and server.

64 questions
0
votes
3 answers

I want to host an AJAX based website on an Apache web server and host a MySql database on the same machine for about 50 concurrent users

The website gets its data from the MySql database. Will a Mac Mini with 2GB Ram and an Intel Core 2 Duo do the trick?
JMK
  • 778
  • 2
  • 7
  • 19
0
votes
1 answer

IE Ajax Request times out even though server is responding

This is a repost of the following SO question because I'm pretty convinced that this is a networking/server issue, and not something wrong with my code. https://stackoverflow.com/questions/7842530/ie-9-30-second-ajax-post-requests Here's the gist:…
0
votes
1 answer

Getting ajaxterm to work on Debian Lenny

I've been knocking my head out for a while on this one and have read many tutorials, but I just can't get this to work. Ajaxterm, is a webbased SSH client; once installed apt-get install ajaxterm and then enabling it with /etc/init.d/ajaxterm start…
dukevin
  • 1,630
  • 3
  • 18
  • 25
0
votes
1 answer

.htaccess to match paramaterized URLS

I am trying to set a cache control header when a browser requsets the following url: www.example.com/php/getData.php?exampleField=exampleValue As even though getData.php is a dynamic page, when the parameter exampleField equals exampleValue the…
Aly
  • 133
  • 8
0
votes
2 answers

Block access to every file in the site but index.htm in Nginx

I have a site with just one file: index.htm which have some ajax linked to php files. I'd like to make those php files only accessible via ajax (post and get) coming from this index file and block access to all files but the index.htm. Is it…
Roger
  • 473
  • 11
  • 22
0
votes
1 answer

IIS 7 returning 400 Bad Request on POST

Greetings, i am trying to POST data in a MVC 3 application to a server running IIS 7 using jquery ajax. When i post normally to the server, everything works ok, just when i post with ajax the server returns a 400 Bad request. I already ran a trace…
xenolf
  • 103
  • 1
  • 3
0
votes
2 answers

PHP+AJAX with MySQL - Query every 2 seconds, too many in TIME_WAIT

I have a basic HTML file, using jQuery's ajax, that is connecting to my polling.php script every 2 seconds. The polling.php simply connections to mysql, checks for ID's newer than my hidden, stored current ID, and then echo's if there is anything…
Ryan
  • 39
  • 1
  • 7
0
votes
2 answers

Setting up ajaxterm with apache

I have ajaxterm running in my localmachine. I want to access it from remote machines (virtual machine) I mainly followed this http://www.tbaumi.de/blog/?p=585 tutor https://localhost/ajaxterm Colors GET Paste Connection status:404 Here is…
webminal.org
  • 273
  • 1
  • 5
  • 19
0
votes
1 answer

Ajaxterm with multiple users

With Ajaxterm (http://antony.lesuisse.org/software/ajaxterm/), is it safe to allow multiple users to access the same "instance" of it? The program that Ajaxterm would run would do its own authentication. Not sure if anyone here has used Ajaxterm…
jtnire
  • 817
  • 2
  • 8
  • 16
0
votes
0 answers

NodeJS https server returns http 0 and SSL error:14094412 ERR_SSL_SSLV3_ALERT_BAD_CERTIFICATE

I have a nodejs https server running on my Raspberry Pi. It responses to ajax requests. When open the webpage with a desktop/laptop or an iPhone (Safari), the ajax call returns the proper result with a http 200 return code. However, when I do the…
0
votes
1 answer

Getting CORS error while accessing audio files on same server in chrome

Access to video at '/path/to/mp3/file' from origin 'https://example.com' has been blocked by CORS policy: Request had a target IP address space of unknown yet the resource is in address space public.
0
votes
1 answer

Unable to connect SQL Server from PHP using Windows Authentication

I'm trying to connect to MS-SQL Server from PHP-8.0 (hosting on IIS-10 localhost) using SQL Server Driver for PHP, i.e., SQLSRV-5.9. While connecting from a PHP page, if I use SQL Server Authentication, it's getting connected right away. But while…
priyamtheone
  • 103
  • 1
  • 1
  • 4
0
votes
2 answers

PHP unable to identify sqlsrv_connect() function while trying to connect SQL Server

I'm trying to connect to my local MSSQL Server from a simple PHP file using the sqlsrv_connect() function, but every time I'm calling the file in the browser through localhost, it's throwing a 500 (Internal Server Error) saying: "PHP Fatal error: …
priyamtheone
  • 103
  • 1
  • 1
  • 4
0
votes
1 answer

TIBCO AMS vs. Lighstreamer

What's the difference between TIBCO AMS and Lightstreamer? Aren't they the same? Has TIBCO acquired Lightstreamer? Which one will you prefer?
6pack kid
0
votes
1 answer

Nginx POST request is changed to GET when using Ajax

I have an Nginx server used for a store. That store has an API which is in a different folder for which i'm using an alias. Here is my example.com from sites-enabled in Nginx: server { listen 443 ssl; listen [::]:443 ssl; server_name…
emma
  • 103
  • 2