Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thats a bit of code I have to ensure the script uses SSL. If that's insecure for some reason please let me know.{ unless (lc($::cgi->https()) eq 'on') { $string = 'https://' . $::cgi->server_name() . $::cgi->url(absolute=>1 +) . '?whocalledme=' . $whocalledme; print $::cgi->redirect($string); exit 0; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pass cgi object?
by Joost (Canon) on Oct 22, 2004 at 19:56 UTC | |
|
Re: pass cgi object?
by tall_man (Parson) on Oct 22, 2004 at 19:47 UTC |