sendAndLoad only works second time around?
Hi,
I'm experiencing strange things using sendAndLoad and would like your thoughts/input on this issue.
For a game I use different ways of getting data:
1. Loading highscores:
xmlHighScore = new XML()
xmlHighScore.load("getHighscore.asp?rndm="+random( 100000));
This works fine! Afterwards I can see the response-file in the cache!
2. The user submits his score to an ASP-page:
saveScore.sendAndLoad("saveScore.asp?rndm=" + random(100000), saveScoreWritten, "post");
This page returns either:
scoreStatus=newScore (score is new) or
scoreStatus=lowerScore (score is lower than score in DB) or
scoreStatus=higherScore (score is higher than score in DB)
The swf file then displays different messages according to the reponse.
On some XP-clients the response isn't recieved in the first session of playing the game. (I can see that the response is not in the cache.) Then trying it out the next day it works fine (the response is now visible in the cache).
Any clues on why this happens?
Brgrds
//poden