PDA

View Full Version : Secure and Nonsecure Items


skycree
April 13th, 2004, 01:30 AM
Hi,
I've searched through the forums but could not find a solution specifically relating to my problem.
I have installed an SSL cert with no problems, however when the cart switches to the https I get the Security Information Alert Box in IE asking me if I want to display nonsecure items. By waiting long enough, I see that the nonsecure item is my background image. Clicking Yes shows the background, while No, does not. This could become an annoyance for customers. Is there a fix for this?

Thanks

Rich
April 13th, 2004, 12:22 PM
You're probably calling the background image using it's full URL. i.e. http://www.yourdomain.com/images/someimage.ext

Since you're specifying that the image be called without using SSL (you're using http:// instead of https://) the browser needs to load a nonsecure image into a secure page, and it generates that error.

Try using a relative path for the background image, instead of the full URL. i.e. /images/someimage.ext

Note that this isn't an issue with the cart, and is common in all SSL applications/pages. When loading a secure page, all items on that page must be called securely, otherwise the message you received is generated.

skycree
April 15th, 2004, 01:39 AM
Excellent, it works great. Thanks for your quick response.

christopherO
December 9th, 2005, 12:45 PM
I have this problem when I just click on the more details link below the thumbnail - I guess the URL is determined by the config file. Do I modify the config to resolve this?