Issues with cached xml files on server

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Issues with cached xml files on server

    Hi,

    I wondering if anyone has had an issue with cached xml files on the server. I
    have an asp.net application that sits on a server and domain that creates a xml
    file. The actual .swf file exists on a different server and domain and pulls
    the xml file and displays the data. The problem is that once you publish the
    xml file, sometimes the when you view the .swf file it pulls the old data. I
    understand how different browsers cache data, like internet explorer, you can
    change the setting to view html pages everytime you view the page versus
    automatically.

    If anyone can recommend a better methodology or tool, please let me know.
    Thanks in advance!

    Thanks,
    Jaime Cavazos

    knoxx Guest

  2. Similar Questions and Discussions

    1. Prevent Player from using Cached files
      I am working on a page the allows the user, once logged in, to upload information and a picture. The picture is saved as his/her username, and if...
    2. web server connection issues
      I downloaded a trial copy of Contribute and am considering it for my company. I like it a lot in general, but have had trouble connecting to ftp...
    3. PRinting issues with Fh8 files in FHMX
      From Opening the Fhrrehand 8 files in Freehand MX, the file shows up as a (converted) document. When trying to print this document to a PSL2 or...
    4. Issues saving files??
      Hi, I am having an issue with Freehand 10 on the PC in that sometimes if say for instance I try to export my picture as a Photoshop 4/5 EPS file,...
    5. problems with published MX projector files---known issues??
      I just bought a brand new Dell system with XP, Direct X 9 and the all-in-wonder 9000 pro card. I do a lot of video editing and Flash MX animations...
  3. #2

    Default Re: Issues with cached xml files on server

    Throw a timestamp on the end of the url of the xml file you're loading. It'll
    solve your problem.

    var date = new Date();
    var ts = ts.getTime();

    xmlobject.load("something.xml?ts="+ts);

    Or if you're passing the url dynamically, you could use .net to generate a
    timestamp and pass it to flash.. either way will work.

    Tim

    timschot Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139