Another solution for cache problem in IE.

This solution was given by the member of the Google group ,so i think i should keep this in my blog for future reference for me and for every flex lover.So the lines are here..In IE

1) Go to internet options.

2) Temporary Internet Files >  Settings > Check for new versions ofstored pages >  Select Radio : “Every Visit to the server”then check your application.

It should work, and gets the new data. Itis the problem with Cache.This problem generally arises in AJAX also. Then we can’t expect everyuser to workaround these settings.

So add this header to the server side page.

———————-”Cache-Control: no-cache, must-revalidate”———————-

For example, in php

<?phpheader(”Cache-Control: no-cache, must-revalidate”);?>

This is the Permanent solution to cache.. comparing to the previous post

Advertisements

3 Responses to Another solution for cache problem in IE.

  1. Andy says:

    Works great thanks!!

  2. omak says:

    thanks … I could not remember it…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: