title: Opening .docx/.docm file inline to <iframe> in IE-8 browser with JSF 2.0 is showing blank iframe with multiple session
body: <p>I am using &lt;iframe&gt; to open MS Office 2007/2010 document file like docx/docm in a JSF 2.0 project that is deployed at Websphere App Server 8.5, and accessing its url from a client having Windows Server 2008 and MS Office 2010 installed with IE-8 browser. the src of &lt;iframe&gt; is the document url, the example code of &lt;iframe&gt; is exampled here from my .xhtml page.<br></p>
  
  <pre>&lt;iframe width = "80%" height = "90%" src = "http://&lt;ip&gt;/files/test.docx"&gt;</pre>
  
  <p>When we open the respective url with this &lt;iframe&gt;, test.docx document is viewed inline in iframe (MS Office 2007/2010 don't open their documents in IE, they are forced to open by using registry values against them)...any how they are opening after the registry editing...and this is what we desired. but the issue is quite complex and unable to understood.</p>
  
  <p>When we open multiple session of the same .xhtml page having some iframe with some different document url/similar it will behave randomly with following problems...</p>
  
  <ul>
  <li>it shows document in iframe with some new sessions, and u don't close the session and create some new as well, it will show the word document in newly opening ie-window with iframe, but when we switched back to other previous sessions, it has been noticed that word application that was launched inline in iframe previously is not visible any more, for launching it again it need to be refreshed...</li>
  <li><a href="https://stackoverflow.com/questions/18555450/opening-docx-docm-file-inline-to-iframe-in-ie-8-browser-with-jsf-2-0-is-givi">https://stackoverflow.com/questions/18555450/opening-docx-docm-file-inline-to-iframe-in-ie-8-browser-with-jsf-2-0-is-givi</a></li>
  <li><a href="https://stackoverflow.com/questions/18555619/opening-docx-docm-file-inline-to-iframe-in-ie-8-browser-with-jsf-2-0-is-open">https://stackoverflow.com/questions/18555619/opening-docx-docm-file-inline-to-iframe-in-ie-8-browser-with-jsf-2-0-is-open</a></li>
  </ul>
  
  <p>it would be good to have some inputs or any solution...</p>