[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Check for security mode
mikeh@minivend.com writes:
> ****** message to minivend-users from mikeh@minivend.com ******
>
> Quoting Stefan Hornburg (racke@linuxia.net):
> >
> >
> > Hello, MiniVendors !
> >
> > Is their a way to determine whether on a page served by the secure server or
> > served by the normal server ?
> >
>
> Not in MiniVend 3 per se. You could write a usertag:
>
> UserTag is-secure Routine <<EOR
> sub {
> return $CGI::secure;
> }
> EOR
>
> [if type=explicit compare="[is-secure]"]
> This is HTTPS.
> [else]
> Not HTTPS.
> [/else]
> [/if]
>
> In MiniVend 4, you will be able to get the status in $Session->{secure} or
> [data session secure].
Thanks. [data session secure] exists already in MV 3, but evaluates
always to 1.
Bye
Racke
--
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstraße 4, 0511-3941290 (http://www.linuxia.net/)
Wir realisieren Onlineshops mit Minivend (http://www.minivend.com)
und MiniMate (http://www.linuxia.net/minimate/).