in reply to Should I be looking at cookies?
The HTML META HTTP-EQUIV tags mentioned by footpad won't work, because, well, it's not html.
Now the headers you want are, afair:
(You can check these atRFC 2616 - this is the authoritative source for information about the HTTP protocol).Pragma: no-cache, must-revalidate Cache-Control: no-cache Expires: 0
Have a look here to find out how to output those headers.
You should bear in mind that the settings in the user's browser can (unfortunately) override these headers, so this method isn't *totally* reliable. What should be totally realiable, though, is to append something different to the GET part of the request, e.g. ?r=date_in_seconds_or_something, as you mention. (Of course, this will have to happen *in Flash*). If you're doing this and it doesn't seem to be working, I suggest you have another look at your Flash.
Something to watch out for: Flash 4 has this nasty habit (don't know whether they've fixed it in version 5). If you tell it to 'load variables' from a textfile, then it *doesn't wait for the textfile to be loaded*. Solution: append an extra variable called varsloaded, in the textfile, e.g. varsloaded=Y Then, in Flash, in the frame following the 'load variables', make the movie wait until varsloaded does equal Y. (You might want to include a timeout, so that if the user's internet connection is down, then the Flash doesn't just wait forever).
HTH - andy.
|
|---|