ahaha it's remind me a old bug I had 10 years ago.
Le 16/07/2011 22:55, Nicolas a écrit :
OK. I finally found the reason of all this mess. It is something that
some people on the Internet consider as a bug from certain browsers.
In any case, I did not know the problem might exist and it did ruin my
application (as can also be read on the net).
I will give the reason below as I think it might help someone in the
future. It was very easy to accuse APE of being responsible for the
weird behaviour (that was not my first idea but after unplugging some
parts of my code, I finally got that wrong conclusion that APE was the
problem).
So here it is.
Never put an empty src="" in a<img> tag. That may be known by some of
you. The result is inpredictible. Some browsers refetch the page on
which the image was requested.
Same applies to<form> tag I was told.
Sorry to the APE team for wrongly pointing my finger at APE!
Nicolas.
On 12 juil, 14:00, Nicolas<[email protected]> wrote:
An example of how it can get wrong.
From the game.php page, I am sending a few chat messages. Everything
works fine. Those chat requests are properly dealt with by the APE
server and the client later.
But suddenly after one more message, the apache server is requested
game.php, so the page basically reloads.
I am pretty sure that someone has already seen that behaviour and has
a simple explanation.
Why the f... would APE request something from Apache? What has gone
wrong?
Regards.
On 12 juil, 11:28, Nicolas<[email protected]> wrote:
Any idea?
On 11 juil, 17:56, Nicolas<[email protected]> wrote:
Hi,
I have a bug in my website that pretty much makes it unusable. The
website is offering online games.
The situation is pretty simple. The user is on a page index.php. This
page loads a few things in a<div> via Mootools Ajax (that includes
APE). APE requests a game to the server. Once the server has accepted
the game offer, the user is redirected from index.php to game.php.
On game.php, the user reloads APE, connects to the server and the game
starts. At least most of the time.
But sometimes, the whole system gets confused. It seems that Apache
receives an APE request instead of APE.
So, WHY WOULD APACHE GET A REQUEST INSTEAD OF APE?
Is there any confusion with document.domain? Is it reset when it
should not be?
I am really struggling on that one.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/