[ic] is-secure tag

Grant interchange-users@icdevgroup.org
Tue Oct 29 15:35:00 2002


>On Mon, 28 Oct 2002 15:18:46 -0800
>"Grant" <listbox@email.com> wrote:
>
>> 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