Okay, I just figured out the problem. It was one, simple line in my PHP file.
[PHP]header("Cache-Control: no-cache");[/PHP]
Thanks!
User Profile
Collapse
-
Thank you for your reply. This is the javascript that is making the request.
...Code:function checktype(sender) { //Make the AJAX object if(xmlHttp==null) { //alert("new object"); try { // Good, you are using a great browser xmlHttp=new XMLHttpRequest(); } catch (e) { // Do yourself aLeave a comment:
-
Does anyone have any ideas? I still haven't been able to figure out what is wrong. Should have I posted this in the PHP forum?Leave a comment:
-
IE incompatibilities with AJAX
Hi!
I haven't been coding in Javascript/PHP very long, but this is the first thing some time and Google can't solve. Through my hours of debugging, I have narrowed the problem down to (unsurprisingly ) Internet Explorer. I have a HttpXML request being sent to the the file manager.php. Here is the contents of manager.php:
...Code:<?php /*This page manages the typing/not-typing ajax light in area.php*/ $sender=$_GET["sender"];
-
Okay, thank you. I just assumed there would be a way to store temporary variables in memory. Thank you for your help!Leave a comment:
-
Thank you for your reply
What I have done is created an AJAX-based application which sends off an int to the server. 0 queries the bit, 1 is set the bit to true, and 2 sets the bit to false. The bit is queried every 300 milliseconds by every client connected to the server. All of these clients need to have access to the same bit. So what I was wondering is if there is any way to do this other than through text files. Maybe there...Leave a comment:
-
PHP Server-based variables/flags
Hello!
I have been working on a php script. In the script, fast reading/writing is necessary to a variable on the server side. It is a one bit flag. Right now, I have been using a text file to write the value 0 or 1 to it, but it isn't very efficient. I was wondering if there is a better way to do this other than the text file or a database. I don't want to add the extra requirement of a database to my program.
...
No activity results to display
Show More
Leave a comment: