Skip to main content
wfzen
Inspiring
November 24, 2015
Answered

SQL data not updated in IE but OK in Chrome

  • November 24, 2015
  • 1 reply
  • 609 views

I created a vote feature in Flash that writes user votes to and reads curent average from SQL database. Whenever you vote, the average should add the new vote and show change. This works OK with Chrome but not in IE. Refresh the window does not work. The only way to show the new data is to exit the browser and launch it again.

I checked the temporary internet files folder and found the only way to update it without quitting each time is to delete the ASP that query the SQL database from cache.

Is there a way for Actionscript to force reload the ASP each time?

Thanks for your advice!

This topic has been closed for replies.
Correct answer kglad

add a changing query string to your asp call, eg

urlloader.load(new URLRequest('your_asp.asp?qs='+Math.random()));

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
November 24, 2015

add a changing query string to your asp call, eg

urlloader.load(new URLRequest('your_asp.asp?qs='+Math.random()));

wfzen
wfzenAuthor
Inspiring
November 24, 2015

That solves it. Thanks for the help!

kglad
Community Expert
Community Expert
November 24, 2015

you're welcome.