When I set Use Secure URLs in Admin to "yes" it causes the backend to logout everytime I view something on the front end. Does anyone know what could be causing this. The backend works fine until I browse the site proper ... then it logs me out.
Based on the comments above, it sounds like your Magento frontend isn't using the
frontend cookie for the PHP session. Instead it's using the
adminhtml cookie. for both the frontend and backend area. Because of this, when you browse to a frontend page the frontend session code is set in the
adminhtml session, and you lose your login.
This (most likely) happened because an extension you installed monkeyed around with the session/cookie setting code in your system, or someone working on the Magento system monkeyed directly with a core file. I wrote an article recently about a similar issue, instantiating session objects too early. Although your issue is different, that article provides some context around how/why Magento session and session cookies are named, and might help you debug this on your own.
Also, this may be as simple as your server time being set incorrectly and the cookies expiring early.