Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SQL data not updated in IE but OK in Chrome

Contributor ,
Nov 24, 2015 Nov 24, 2015

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!

TOPICS
ActionScript
560
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 24, 2015 Nov 24, 2015

add a changing query string to your asp call, eg

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

Translate
Community Expert ,
Nov 24, 2015 Nov 24, 2015

add a changing query string to your asp call, eg

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 24, 2015 Nov 24, 2015

That solves it. Thanks for the help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2015 Nov 24, 2015
LATEST

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines