I have Use SSL checked in Admin cfg., which sets <add key="UseSSL" value="true" /> in root web.config. This works great to force SSL for all of the standard pages (/login, /customer/info, /customer/orders, etc.) and for my Topic pages.
However, my site has custom pages like mydomain.com/mycustompage/. The UseSSL setting is not forcing https for those pages. How do I code those pages so they obey the UseSSL setting?