ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu [hide]

HTMLTipsSSLNonSecureWarning

This page contains both secure and nonsure items. Do you want to display the nonsecure items? print
similar comment
A question was in a newsgroup I ran across:

> I have a search box to search certain data in one of the database tables;
> whenever I search I get the following message in a security dialog box:
> " This page contains both secure and nonsure items. Do you want to display the nonsecure items ? "
>
> How I do get rid of that ??. Thanks

Most likely you have an image (or a frame or some other content on the page) that is not under a https:// url.

The browser is warning that you are pulling SOMETHING required to display the page from non-secure sites (http:// - i.e. non-SSL connection to the server instead of https://).

You can view source and search for http:// and you'll likely spot it quickly, most likely you just want to use a relative URL, like /images/_ instead of http://__/images which will cause this warning.

NOTE: If you just update the links to https:///images then you'll be pulling SSL images even when the client is loading from a non-secure page, this is some extra cpu load on the client and (more importantly) the server. You probably don't want to do this if you have a high volume site. If you have a low volume site it's still not the right solution, but would work.

Created by: steveradich last modification: Friday 02 of December, 2005 [08:38:06 UTC] by steveradich



Search
in:
Our Sponsors
Need a Virtual Server 2005 Hosted Account? Why not trust ASPDeveloper's Team? We're a division of www.bitshop.com
Server Colocation Specials
1u - $99/month
Dedicated From $49/mo
http://www.bitshop.com
ASPDeveloper.Net is part of
BitShop and hosted by BitShop
Need a Virtual Server 2005 Hosted Account? Why not trust ASPDeveloper's Team? We're a division of www.bitshop.com
Read the blogs, request we set up one for you FREE
http://www.aspdeveloper.net
Read the blogs, request we set up one for you FREE
http://www.aspdeveloper.net
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: