Accessibility
Adobe
Sign in My orders My Adobe

Title

Flex does not refresh Web service data in Internet ExplorerProducts affected

Issue

When you access a Web service through an AdobeFlex application,you application may receive the first set of data correctly but then does not receive any updated data when it makes another request for the same data.

This issue only occurs with Internet Explorer.If you test with another browser and your application works correctly, then please follow the instructions here to correct the problem for Internet Explorer users.

Reason

Internet Explorer caches (keeps in memory) your Web service results.When the Flex application sends the same request for information, Internet Explorer gets it from the cache without requesting it from the Web service.

Solution

To resolve this issue, you must prevent Internet Explorer from caching your Web service data so that it will request it every time you ask it to.

To do this, you will need to change the HTTP headers that are returned from your Web service by adding the following line to the <HEAD> section of the HTML:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-STORE">

Remove any other Cache-Control lines that might be present.

Also remove this line from your Web service response, if it exists:

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

Also remove any other "Pragma" lines referring to cache.

These headers can be added on the server-side by your Flex application and they can also be added by your Web server, so you may need to check in multiple places to remove the headers. You may also need to use a testing application to view the header information that is returned from your Web service to ensure the headers are correct.


Doc ID
(kb405620)

Last updated
2008-08-28

Products affected

Contacting Adobe Support

Still need help?
Find out about all your support options.
Contact support