Hi,

On 1/5/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> // disable the caching...
> highscoreXml .sendAndLoad( "highscorephp?timestamp=" +  new
> Date().getTime(), highscoreXml );

thanks however I mean something different
than your trick with the changing URL:

1) Can you sendAndLoad() from a flash applet,
2) then get the Last-Modified value from the returned HTTP-header
3) then prepare another sendAndLoad() call and set the
    HTTP-header "If-Modified-Since" from the 2)    ?

Is that possible? Java applets can do this through the 2 methods
getLastModified() and setIfModifiedSince() in java.net.HttpURLConnection.

That would speed-up the Flash-to-backend communication (for ex.
for webchat-applications or database queries) and save bandwidth.

Regards
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to