[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[ic] Secure or not secure is the question
I'm currently in the process to update http://www.materialboerse.de/
to IC (runs on hacked MV 3 for now).
I wonder which is the best method to determine whether the page
comes from the normal or the secure web server for the language
selection on top of every page.
My solution is:
Autoload <<EOS
[perl]
if ($Session->{shost} =~ /\S/) {
$Scratch->{secure} = 1;
} else {
$Scratch->{secure} = 0;
}
[/perl]
EOS
Any comments are welcome !
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users