PDA

View Full Version : Determining if HTTP or HTTPS


bgribaudo
09-05-06, 08:46 PM
Hello,

Is there a way to determine whether the visitor is accessing a page template via HTTP or HTTPS?

We would like to modify our site template so that an "e-mail this page" link appears only when viewed via HTTP.

Thank you,
Ben

wcw
09-05-06, 08:49 PM
Did you try


<mvt:if expr="'https' CIN documenturl">
secure
<mvt:else>
not secure
</mvt:if>

bgribaudo
09-05-06, 09:14 PM
That was just what I needed. Thank you.