http or https - detectable?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VB Programmer

    http or https - detectable?

    Is there a way (ASP.NET) that you can tell whether the users browser url is
    using the secured https protocol or the usual http protocol? Thanks...


  • Mark Fitzpatrick

    #2
    Re: http or https - detectable?

    Request.IsSecur eConnection will return whether or not the url is using
    https.

    Hope this helps,
    Mark Fitzpatrick
    Microsoft MVP - FrontPage

    "VB Programmer" <dont@emailme.c om> wrote in message
    news:OOy4VIdLGH A.420@tk2msftng p13.phx.gbl...[color=blue]
    > Is there a way (ASP.NET) that you can tell whether the users browser url
    > is using the secured https protocol or the usual http protocol? Thanks...
    >[/color]


    Comment

    • VB Programmer

      #3
      Re: http or https - detectable?

      Thanks Mark!
      "Mark Fitzpatrick" <markfitz@fitzm e.com> wrote in message
      news:%23r2QSNdL GHA.3196@TK2MSF TNGP09.phx.gbl. ..[color=blue]
      > Request.IsSecur eConnection will return whether or not the url is using
      > https.
      >
      > Hope this helps,
      > Mark Fitzpatrick
      > Microsoft MVP - FrontPage
      >
      > "VB Programmer" <dont@emailme.c om> wrote in message
      > news:OOy4VIdLGH A.420@tk2msftng p13.phx.gbl...[color=green]
      >> Is there a way (ASP.NET) that you can tell whether the users browser url
      >> is using the secured https protocol or the usual http protocol?
      >> Thanks...
      >>[/color]
      >
      >[/color]


      Comment

      Working...