Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] session secure tag



******    message to minivend-users from "Alexei Yakimovich" <alex@del.donetsk.ua>     ******

Hi Kevin,

I've solved that with https user tag. It works for me. :)

UserTag https Interpolate 1
UserTag https Routine   <<EOR
sub {
use strict;
        if ( $CGI::secure =~ /on/i) { return 1;}
        return 0;
}
EOR

Have a nice day,

Alexsei

> ******    message to minivend-users from "Kevin Walsh"
<kevin@cursor-software.co.uk>     ******
>
> Is there a problem with my usage of the [if session secure] tag
> I am not aware of?  I've looked through the list archive and
> can't find anyone else with the same problem.
>
> As a test, I put the following code in my checkout page:
>
>     [if session secure]
>         Secure
>     [else]
>         Not secure
>     [/else]
>     [/if]
>
> I get a "Not secure" response whether the page is secure or not.
>
> --
>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/  K e v i n   W a l s h
>  _/ _/    _/          _/ _/     _/    _/  _/_/
kevin@cursor-software.co.uk
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: