download file in iframe in IE
- by Estelle
in a webpage I have a link to let the user download file, such as,
"showfile.aspx?filename=xxx"
in showfile.aspx, I send the file using Response.OutputStream.Write method.
now I get some problem when somebody put this webpage in an IFrame and open in IE, as I checked the code, showfile.aspx is requested twice when clicks the link, and in the second time the cookies of authorization and session Id are missing. I tried to add the p3p header but not working.
my question is, is this how the IE designed with iframe? is there anyway to work around? thanks.