[ic] is-secure tag

Michael Goldfarb interchange-users@icdevgroup.org
Tue Oct 29 15:44:01 2002


>>> I'm having trouble getting Kevin's is-secure tag to work
>>properly.  Here's a
>>> link to it:
>>>
>>>
http://www.interchange.rtfm.info/downloads/usertags/is_secure.usertag
>>>
>>> I have mine set up just like the example, but it always returns 0
(not
>>> secure) even on HTTPS pages.  I restarted IC after adding the tag to
>>> ic/usertag.  Any suggestions?
>>
>>I noticed too that querying CGI::secure fails sometimes. I now use:
>>
>>if ($Tag->env('HTTPS') =~ /\S/) {
>>	$Scratch->{secure} = 1;
>>} else {
>>	$Scratch->{secure} = 0;
>>}
>>
>>The env usertag is part of 4.9.x, but works with 4.8.x flawlessly.
>>
>>Ciao
>>      Racke
>
>Thanks for your help.  Unfortunately, it seems [scratch secure] equals
0 >for
>both HTTP and HTTPS pages for me.  I can't figure out what's going
wrong
>here....
>
>- Grant

Since you are having problems with the tag above, can't you just use [if
session shost]?