Dear Friends
I have a typical scenario where I have a flash component that receives
XML data on https environment. Scripting langauge is jsp. The web
server is apache 1.3.26 with mod-ssl and open-ssl is implemented.
Since the XML data are confidential and by nature flash will store the
xml contents in temporary folder, So I wanted to implement cache
control headers in my jsp page where the XML page is processed. So I
included the following lines in the jsp page:
common code for Netscape
<% response.SetDateHeader("Expires", -1);
response.setheader("Pragma", "no-cache");
response.setheader("cache-control", "no-cache");
%>
Additional code for IE/https
<%
response.setheader("Pragma", "no-store");
response.setheader("cache-control", "no-store");
%>
It is working fine in Netscape browser, but in IE, it is behaving very
odd, xml data is not at all processed and communicated to flash tool.
and if I enable "use http/1.1 through proxy" in internet options,
advanced tab in IE 5.0 and above. But this is not working in IE 4.0.
I only purpose of the question is I want to control cache and my xml
data or swf file (flash) should not be stored in the local client pc.
I have 2 options:
1. Go with the cache control header options and try further or
2. Allow XML cache in local machine and implement some XML encoding
logic from server and send the encoded xml files to flash, in flash we
need to decode it and display it. (please note that there are
re-engineering algorithm that allows to reengineer the flash swf file
and see the decoding algorithm.
My requirement is so urgent & need to complete it latest by Monday
05-Aug-2002.
If you like we can have yahoo conferencing. I can even give you some
code snippets.
Let me know.
Thanks
Sashi. |