catbert303
04-16-2003, 03:23 PM
This has been puzzling me for a while, I have a flash movie that calls a PHP script every few seconds, PHP does its stuff and returns results to flash, this all seems to work.
The problem comes using internet explorer, and to a slightly lesser extent Mozilla, it is that the script eventually stops opening, and after running the movie no further pages can be opened from my server during the current browser session (Mozilla does open them but takes a long time (about a minute on a modem) to open the first one after the movie), at first I assumed I was just overloading the server and it simply wasn't sending the page, but the thing that really confuses me is the problem doesn't seem to occur at all using opera (so maybe the problem isn't with the server).
to test I tried replacing the original script with a dummy script (something nice an simple) that just picks random entries from an array and returns them to flash, using this script I haven't yet come across the same problem, but if I add a line,
sleep(5);
to it, the problems return. any ideas why the browser seems to care about what the script is doing and its execution time?
Thanks
The problem comes using internet explorer, and to a slightly lesser extent Mozilla, it is that the script eventually stops opening, and after running the movie no further pages can be opened from my server during the current browser session (Mozilla does open them but takes a long time (about a minute on a modem) to open the first one after the movie), at first I assumed I was just overloading the server and it simply wasn't sending the page, but the thing that really confuses me is the problem doesn't seem to occur at all using opera (so maybe the problem isn't with the server).
to test I tried replacing the original script with a dummy script (something nice an simple) that just picks random entries from an array and returns them to flash, using this script I haven't yet come across the same problem, but if I add a line,
sleep(5);
to it, the problems return. any ideas why the browser seems to care about what the script is doing and its execution time?
Thanks