Dynamic rich media component for ASP.Net Flash, Video, Audio, FlashVideo and ToolTip / Balloon Help controls for C# and VB.Net
Welcome Guest Search | Active Topics | Members | Log In | Register

Caching issue! Options · View
mcapozzi
Posted: Monday, December 28, 2009 7:44:01 PM
Rank: Newbie
Groups: Member

Joined: 12/23/2009
Posts: 7
Points: 21
Hello,
I have used this control for quite some time and just realized a major issue that came up. I have a video that is uploaded to a server. Then, I run the flv file on the server through the javascript API (this works fine). The problem is, everytime I return to the page, since I'm pointing to the same FLV location it does not play the new file that is on the server. The only way I can get it to work is to clear the broswer cache.

I'm working in IE 8, IE7, and firefox here. My solution was to add something after the LoadMedia url like '?12345' but when I do this, the Flash video player plays nothing at all. Please advise asap as this is a critical issue! Thanks,

var videoObject = ASPNetMedia.FlashVideo("FlashVideo1");
videoObject.SetVolume(100);
videoObject.LoadMedia(URL);

I've also tried to clear the browser cache programatically and haven't had any luck. Again, the only way to solve this is to click 'Delete All' in internet explorer to get rid of all the temp files and all of that. Is there a way I can set the control to never try and cache? I need to be able to play an flv file in a location that can be overwritten with a new flv file and have the control play the new one.

Thanks again
mcapozzi
Posted: Monday, December 28, 2009 9:36:40 PM
Rank: Newbie
Groups: Member

Joined: 12/23/2009
Posts: 7
Points: 21
Sorry to add another reply (no place to edit post) but:

Does the flash player pull information from temporarily files somewhere before it actually tries to go to the URL containing the flash file?
mcapozzi
Posted: Wednesday, December 30, 2009 8:01:06 PM
Rank: Newbie
Groups: Member

Joined: 12/23/2009
Posts: 7
Points: 21
Ok, well I found that the flv file was being stored directly in the temporarily internet files. Is there any kind of "no-cache" mode that would alow the FlashPlayer to not read from temporary internet files first?

If you aren't sure of the answer now, could I get a response via this thread or PM letting me know when I can expect a response on the issue? I understand it's the holidays, and was wondering if support was on hold until after Jan 1st. It's just that I haven't heard anything and we are really stuck here.

Thanks!
Jake
Posted: Saturday, January 02, 2010 6:23:21 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Hi

1 - The caching is a user browser setting that we can not modify.

2 - You can imply to the brower not to cache FLV files - and indeed to Alloe ? GET veariables. But this is all in your IIS setup - ( mime types)

http://www.aspnetmedia.com
mcapozzi
Posted: Monday, January 04, 2010 4:32:34 PM
Rank: Newbie
Groups: Member

Joined: 12/23/2009
Posts: 7
Points: 21
Jake,
Thank you very much for your response! I hope you had a good New Year. After weeks of struggling with this, it seems that it is working now. I did a search for MIME type caching in IIS and realized that in the HTTP Headers tab that I could add Cache-Control: no-cache (no-cache being the value) and it appears to work!

Thanks again, and I hope this post will be a good reference for anyone having a similar issue.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.