Thursday, 21 February 2008

Flash Player issues with Secure Sockets Layer (SSL) communication

flash + SSL + IE = WTF

I’ve been working on a project in which we were generating a flash based menu. It was all working fine until we implemented Verisign SSL on the site. When we access the site via HTTPS it runs into some issues. After a round of 'googling', I figured out that there was an issue with IE and SSL that was causing this issue. I found a workaround that I’d like to share

The following pages came to be of great help:

Microsoft Knowledge base:
http://support.microsoft.com/kb/323308/
http://support.microsoft.com/kb/815313/

Real cause and solution

Data Loading fails when using a no-cache header Pragma
Because of issues with Microsoft Internet Explorer, loading data via SSL into the Flash Player ActiveX control will not work if the server uses a no-cache header. The problem occurs if the server is using SSL and has added one or both of the following HTTP headers to the response message:

Pragma: no-cache
Cache-control: no-cache,max-age=0,must-revalidate


To solve this issue and receive data via SSL in the Flash Player simply remove the no-cache settings that are listed above from the server.

kick it on DotNetKicks.com

No comments:

Post a Comment