[ic] Detecting a secure page [is_secure]

Steve Graham icdev at mrlock.com
Fri Jun 9 17:38:51 EDT 2006

At 03:44 PM 6/9/2006, you wrote:
>How can I detect whether or not the current page is https?  I've tried
>[if session shost] and the [is_secure] UserTag specified here:

I had a little time to play with this: (This usertag worked for me)  IC5.4.x

UserTag is_secure Routine <<EOR
sub {

if ($Tag->env('HTTPS') =~ /\S/) {
         return 1;
} else {
         return 0;



More information about the interchange-users mailing list