PDA

View Full Version : Load data from asp sometimes works, sometimes not! How comes?


waldosmeets
08-29-2001, 05:02 PM
Hi everybody.

I do not visit this website so often as I do not do much flash at the moment, but I do think I know my flash stuff. A customer wanted me to make an online tool: a database driven pension advisor in flash. I hope you are willing to help me. There seems to be a 'bug' that happens very rarely.

Here is the tool: http://www.interplein.nl/nn (sorry, dutch client)

I use actionscript to load some variables from a database. I get the value from this file: http://www.interplein.nl/nn/dbtoflash2.asp

There is a preloader in the movie that loads the file again after a certain period of time, to avoid 'time outs'.

Now here is the problem: everything works fine for me. It does not matter whether I try from home or the office as long as I have Flash 5 plugin installed. I also asked other people to test the file from my server, and of course the client tried it. 9 out of 10 people report no problems at all, but for some of them the movie keeps loading the data after clicking the 'meet uw pensioen' button.... and this is also the case for my client :(

This is weird!

So now I am looking for information on what is going on. What can go wrong?

Is it my flash actionscripting (I don't think so.. it works in 9 of 10 cases)?
Are there any loadvariables limitations?
Has a specific flash 5 player problems with load data?
Or can only be x kilobytes be loaded (I am not loading very much)
Or are there any firewall issues?

Anyone knows were to start looking for a solution?

I would also appreciate reports for how things work for you. Please give me your OS, Browser, Flash plugin and network details when you give me a report.


Sorry for this long post.

Waldo Smeets - http://www.UDzone.com Webmaster
------------------------------------------
http://www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------

B00MER
09-24-2001, 11:55 AM
When you call your asp via getURL or loadVariables (whatever method your using) do the following:

loadVariables("script.asp?nocache=" + random(10000));

This will keep the browser from loading from cached data.

hth. :)

xxlm
09-27-2001, 10:50 PM
I've got the same pb that waldosmeets! That's very strange! Sometimes it works somtimes not!.....

Ok we'll need to send all that's in the cache... But the buffer is disable by default! So no data are stored in it!

So what else can i do ?

please try to log on (on the left menu) after submit the form (top menu, link "M'INSCRIRE")
here is the adresse:

http://www.lagoon.nc/xavier/site/default.asp

and let me know if it works correctly!
Thanx!