[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] is-secure tag
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