Internet Explorer and https:// fun

Two little issues came up today while working on a site using SSL connection.

#1 – using iframe to prevent back/forward caching in Safari.

I always use the little iframe tag as per http://developer.apple.com/internet/safari/faq.html#anchor5. IE doesn’t like

src="about:blank"

and will pop-up the error message “This page contains both secure and nonsecure items…”. The fix is to set

src="javascript:false;" 

as per the drupal discussions

#2 – IE didn’t want to accept file downloads over SSL. Total frustration.

Fortunately a solution was found on this page

Add this on one line:

if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE'))
{ session_cache_limiter("public"); } session_start();

#3 Adding flash video to a page causes the same “This page contains both secure and nonsecure items…” message in IE. To fix it change the codebase from http to https

0 Responses to “Internet Explorer and https:// fun”


  1. No Comments

Leave a Reply