in reply to Knowing the scheme
If you are using CGI.pm:
Or you could check $ENV{HTTPS}my $q = CGI->new; unless ($q->https) { # I'm not running under SSL }
Hope this helps...
gav^
|
---|
In Section
Seekers of Perl Wisdom