Doubt in Flex – Your Help is Really Needed. (Refresh Issues in Flex with IE)
Hi Friends,
This is Leena Kale. I have an issue with refreshing my Application. I want user to allow the refresh the application by browser or F5 key. I have already tried the following ways:
Using SharedObject Using Session Object
Both are Working fine in Mozilla Firefox and Google Chrome. But the problem in coming in Internet Explorer. It only works when we change the *default setting(Automatically)* from Internet Options to *Every Time I Visit the Page.*
I am unable to understand this behaviour of IE towards the SWF.
Now, My Questions are:
1. Is there any way, where we don’t need to change this setting of Internet Explorer and Still it works Fine? 2. Or We need to change it? 3. Is there any other way to achieve this functionality apart from What I tried?
Since, at my company our people don’t want to change this setting, but still want to achieve this feature. I know, you people are Really Good in Flex and are really busy with your important works. But, I will be really thankful to you, if you people can spend a minute or two to write the answers for these questions, since this is very critical for survival this Project.
Thanks & Regards: Leena T. Kale “If u wish to reach on Highest then start from Lowest…..”
Contact No: 9764657046 Skype IM – leena.kale
Related posts:
- how do we refresh a page in flex
- Page refresh in flex.
- Flex refresh as soon as there are new data
- Flex Remoting Doubt
- Flex Builder? Eclipse help needed urgent
- File Upload in Flex Urgent help needed
- Flex Programmer needed
- Traversing the child node in Flex :: Tough nut to crack – Help needed
- Flash and Flex Developers Needed in large numbers and also urgently
- Flash and Flex Developers Needed in large numbers and also urgently
You are hitting the cache mechanism of IE browser, If you read correctly in the image that you have attached , It says , “*Checked for newer version of stored pages*”, meaning : check if something new version is available on your server for the pages that are cached with browser.
and If user has saved setting as : “Automatically” , then IE is gonna send http request to your server on its own . May be after some time interval or when the expiry of cache is set . And not by any explicit action of refresh.
So there are work around for this :
You can override these setting for your application by using certain metadata tags in you html page that loads swf like :
*OR* Simpler way is append a timestamp to your swf url in html page like this :
Where “t” is calculated every time on onLoad event or any other event of Body tag in html page or something (I am not html expert) This is a kinda of hack, which make IE think that every time a a different url is requested and hence it does not picks up content from its cache.
Keep posted if any of the two things works
-Regards Mayur
On Tue, Nov 3, 2009 at 11:21 AM, Leena kale wrote:
Have you tried deep linking, which is one of the key feature in Flex 3. Hope it will help.
On Tue, Nov 3, 2009 at 2:21 PM, Leena kale wrote:
How do you deep link???
Hi,
Are you speaking about caching issue? When refreshing the browser it is not showing up the new content?
Sent from my iPhone
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Deep_Linking
I am using modules in my application… Then how can i implement?
Regards, Hari
On Nov 4, 7:10 am, Vaibhav Seth wrote: > http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_De... > > > > > > On Tue, Nov 3, 2009 at 8:08 PM, wrote: > > How do you deep link??? > > > On Tue, Nov 3, 2009 at 7:53 PM, Vaibhav Seth wrote: > > >> Have you tried deep linking, which is one of the key feature in Flex 3. > >> Hope it will help. > > >> On Tue, Nov 3, 2009 at 2:21 PM, Leena kale wrote: > > >>> Hi Friends, > > >>> This is Leena Kale. I have an issue with refreshing my Application. I > >>> want user to allow the refresh the application by browser or F5 key. I have > >>> already tried the following ways: > > >>> Using SharedObject > >>> Using Session Object > > >>> Both are Working fine in Mozilla Firefox and Google Chrome. But the > >>> problem in coming in Internet Explorer. It only works when we change the > >>> *default setting(Automatically)* from Internet Options to *Every Time I > >>> Visit the Page.* > > >>> I am unable to understand this behaviour of IE towards the SWF. > > >>> Now, My Questions are: > > >>> 1. Is there any way, where we don’t need to change this setting of > >>> Internet Explorer and Still it works Fine? > >>> 2. Or We need to change it? > >>> 3. Is there any other way to achieve this functionality apart from What I > >>> tried? > > >>> Since, at my company our people don’t want to change this setting, but > >>> still want to achieve this feature. > >>> I know, you people are Really Good in Flex and are really busy with your > >>> important works. But, I will be really thankful to you, if you people can > >>> spend a minute or two to write the answers for these questions, since this > >>> is very critical for survival this Project. > > >>> Thanks & Regards: > >>> Leena T. Kale > >>> “If u wish to reach on Highest then start from Lowest…..” > > >>> Contact No: 9764657046 > >>> Skype IM – leena.kale > > >> — > >> Thanks, > >> Vaibhav Seth. > > > — > > Ed Melendez > > Print/Web/Media > > > 646.246.4368 > > edwin.vgw…@gmail.com > > — > Thanks, > Vaibhav Seth.- Hide quoted text – > > – Show quoted text -
yes you can pass a query string to the swf parametere with a unique value i.e. math.random etc
You need to change the setting in IE. Since In my application also, this happens for IE only. It works fine with other browsers like Firefox, Chrome, Opera. Only, IE behaves strange.
I also tried using all the tags(below) which is used to override the cache settings, but it doesn’t work for IE. On the default setting of IE, Neither HttpService call works, nor SharedObject.
The best way is to either use the Browser or Change Setting.
Regards, Ashish Mishra
On Nov 4, 9:54 am, Jasmeet Sehgal wrote: > yes you can pass a query string to the swf parametere with a unique value > i.e. math.random etc > > On Wed, Nov 4, 2009 at 11:53 AM, Vaibhav Seth wrote: > > > > > > > Have you tried deep linking, which is one of the key feature in Flex 3. > > Hope it will help. > > > On Tue, Nov 3, 2009 at 2:21 PM, Leena kale wrote: > > >> Hi Friends, > > >> This is Leena Kale. I have an issue with refreshing my Application. I want > >> user to allow the refresh the application by browser or F5 key. I have > >> already tried the following ways: > > >> Using SharedObject > >> Using Session Object > > >> Both are Working fine in Mozilla Firefox and Google Chrome. But the > >> problem in coming in Internet Explorer. It only works when we change the > >> *default setting(Automatically)* from Internet Options to *Every Time I > >> Visit the Page.* > > >> I am unable to understand this behaviour of IE towards the SWF. > > >> Now, My Questions are: > > >> 1. Is there any way, where we don’t need to change this setting of > >> Internet Explorer and Still it works Fine? > >> 2. Or We need to change it? > >> 3. Is there any other way to achieve this functionality apart from What I > >> tried? > > >> Since, at my company our people don’t want to change this setting, but > >> still want to achieve this feature. > >> I know, you people are Really Good in Flex and are really busy with your > >> important works. But, I will be really thankful to you, if you people can > >> spend a minute or two to write the answers for these questions, since this > >> is very critical for survival this Project. > > >> Thanks & Regards: > >> Leena T. Kale > >> “If u wish to reach on Highest then start from Lowest…..” > > >> Contact No: 9764657046 > >> Skype IM – leena.kale > > > — > > Thanks, > > Vaibhav Seth. > > — > regards > Jasmeet Singh