79523440

Date: 2025-03-20 15:46:13
Score: 2
Natty:
Report link

I know this is an old post but recently (2025) I have seen "Request.ServerVariables("HTTPS")" returning "off" even when the site is HTTPS/SSL and the browser shows a valid certificate.

This is a great work around:
if request.servervariables("SERVER_PORT") <> "443" then ...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John P