Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2003, 05:48 AM
Authorized User
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Prevent browser from caching?

I'm creating and saving an XML file (simply using the XMLDocument.Save method) that in turn gets read by a Flash movie. The movie needs to read the latest version of the XML file, but it's reading a cached version instead. If I go to the XML file through the browser, then hit Refresh, it refreshes with the new version, then the movie uses that latest version. But is there some way I can keep the browser from caching the XML file?
__________________
Steve
iTek Corporation
http://itekcorp.com
 
Old October 1st, 2003, 08:32 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Keep in mind your "browser" is flash. Another question is "where's the file getting cached? In flash or on the server?" Can you set the expiration header of the XML document? If you are just referring directly to the XML document as is than you probably can't. If there a way in flash to specify cache properties of a document accessed in this way?

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Caching stu9820 ASP.NET 3.5 Basics 0 June 20th, 2008 03:20 PM
Browser Caching with AJAX atcs2152 Ajax 15 February 1st, 2007 10:26 PM
best way to prevent page from caching crmpicco HTML Code Clinic 2 March 17th, 2006 09:02 AM
caching? freaknfreak HTML Code Clinic 1 January 24th, 2006 12:10 PM
Launch default browser in a new browser window haiying Beginning VB 6 1 August 30th, 2005 05:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.