Existing working scripts will work without any changes.
You may however wish to check in your script if the user is actually using an https connection. According to perldoc CGI:
https() The same as http(), but operates on the HTTPS environment variables present when the SSL protocol is in effect. Can be used to determine whether SSL is turned on.I'd imagine (but haven't tested) you'd do something like:
if ($q->https('HTTP_USER_AGENT') { #yup they're secure } else { #nope they're not }
----
Nothing is too wonderful to be true
-- Michael Faraday
In reply to Re: HTTPS and CGI
by freddo411
in thread HTTPS and CGI
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |