Solved

SSL fails in iframes

Posted on 2003-11-10
3
311 Views
Last Modified: 2010-04-09
i have a site secured with SSL. EVerything works fine and i also see the lock icon on the bottom status bar. i am using ie6. now in my secure asp page i inserted a blank iframe. after i did this i get a alert box that says "this page contains both secure and non-secure items. do you want to display both?" when i click 'yes', the page displays and i am able to continue. the site still works properly, but the lock icon on the bottom disappers.

what is happening and how do i cure this. my customer will not accept a page without the lock icon on the bottom even though the site is secure and working properly.

is this a specific issue with iframes ?
0
Comment
Question by:RTKVSNL
  • 2
3 Comments
 

Author Comment

by:RTKVSNL
ID: 9720236
i have posted the code that caused this problem to begin

<IFRAME SRC="" id="fraHeader"  Name="fraHeader" scrolling="no" marginwidth="0" marginheight="0" AllowTransparency="false" frameborder="no"  noresize style="Z-INDEX: 3; LEFT: 0px; WIDTH: 780px; POSITION: absolute; TOP: 0px; HEIGHT: 68px;border-style:none;border-color:red"></IFRAME>
0
 

Author Comment

by:RTKVSNL
ID: 9720451
i have noted one more thing. in the SRC tag above, if i enter some page address then i dont get the security alert, butin my application, i am setting the SRC later through javascript. that is why i have left the SRC blank. could this be a problem?

i also deleted the javascript code, so i was just left with a blank iframe. even this caused the security alert to pop up.

i guess i am in quite a soup !
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 125 total points
ID: 9721017
Hi RTKVSNL,

The problem is caused by your iframe not have a SRC - as you've noted - when the page loads. You need to set the source to reference some dummy page or relative URL in your site, and then replace the URL with your script after load - or however you've set that up.

Thanks,
GM
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now