Detect if user has SSL enabled in their Browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stepterr
    New Member
    • Nov 2007
    • 157

    Detect if user has SSL enabled in their Browser

    Hi All,
    Does anyone know if it is possible to detect if a user has SSL enabled in their browser? I have a login page that is https but if the user does not have SSL enabled it of course just gives them a page cannot be displayed message. What I would like to do is verify that they have it enabled, if they do not, then send them to another page that would walk them through how to enable it.

    I'm already doing this to verify their browser, if javascript is enabled, and if cookies are enabled. So the SSL verification is the last piece I'm missing.

    Thanks!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    As far as I'm aware, I don't think it's possible to detect if SSL is enabled using JavaScript.

    Comment

    Working...