I am sorry if I missed this somewhere, but I searched and cannot find the answer to my question. I am using a Java Script in my languages/mytemplate/english.php file that makes a call to another one of my websites as a non secure session for real time display of the user on the page.
I have it in english.php like this:
define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="http://www.mywebsite.com" target="_blank">D.F.C.O.A. Inc</a><script language="JavaScript1.3" type="text/javascript"
src="http://www.myotherwebsite.com/wmserver/tag.php?action=get_code"
></script>');
It works fine in both secure and non secure modes, however, it does cause the secure warning to pop up during secure sessions. I'd like to not use it at all when in a secure session, something like the thread at:
http://www.zen-cart.com/forum/showthread.php?t=53809 (PHP to Sniff Secure Session)
I messed with it a bit based on the info in the above thread, but couldn't come to anything that worked. Can someone steer me the right way on how to do this?
Thanks
Dave


I guess I was looking too hard to see the short answer for the exception, as soon as entered the thread, it jumped at me and I got something going:
