Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Internet Explorer / General Topics / June 2008

Tip: Looking for answers? Try searching our database.

page contains both secure and nonsecure items When setting location     in IE6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DBLWizard - 27 Jun 2008 19:45 GMT
Howdy All,

I'm fighting with IE on a secure site where I am trying to set the
location of a frame from within javascript using code similar to this.

           sHref = "DocumentViewPDF.asp?DocumentType=<%=sDocumentType
%>&Instrument=" + sInstrument;
           objFrameImage = window.top.frames['fraImage'];
           objFrameImage.location = sHref;

IE 6 throws up this message that says "This page contains both secure
and nonsecure items.".  None of the other browsers seem to have this
problem including IE7.  Is there a way to fix this?

Thanks

dbl
DBLWizard - 28 Jun 2008 21:39 GMT
> Howdy All,
>
[quoted text clipped - 13 lines]
>
> dbl

Ok,

I have further diagnosed the problem.  It's not client side as I
originally suspected.  The DocumentView.PDF page streamed down a PDF
to the requesting page, when I remove that code and simply render HTML
there is not a problem.  Here is what the DocumentViewPDF page looks
like:
<%
  Dim objPDF
  Dim sDocumentType
  Dim sInstrument

  sDocumentType = Request.QueryString("DocumentType") & ""
  sInstrument = Request.QueryString("Instrument") & ""

  If Len(sDocumentType) > 0 AND Len(sInstrument) > 0 Then
     Set objPDF = Server.CreateObject("LEImage.clsPXCPDF")
     Response.ContentType = "application/pdf"

     Response.AddHeader "Content-disposition", _
       "inline; filename=" + StripOutPage(sInstrument) + "_doc.pdf"
     Response.BinaryWrite objPDF.GetDocumentPDF(sDocumentType,
sInstrument, "")

     Set objPDF = Nothing
     Response.End
  Else
     Response.Write "Invalid querystring parameters!
<br>sDocumentType:" & sDocumentType & "**<br/>" & _
                    "sInstrument:" & sInstrument & "**"
     Response.End
  End If
%>

Does anybody have any idea why it considers this "unsecure" but none
of the other browsers do, including IE7?

Thanks dbl
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.