http or https - detectable?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

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...
 
Request.IsSecureConnection will return whether or not the url is using
https.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Thanks Mark!
Mark Fitzpatrick said:
Request.IsSecureConnection will return whether or not the url is using
https.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top