For Programmers: Free Programming Magazines  


Home > Archive > ASP > November 2005 > Checking if SSL is enabled









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Checking if SSL is enabled
Bill Long

2005-11-24, 6:55 pm

How can tell at run time is the web site is SSL enabled.

What I want to do is redirect to an https url if both of the following
conditions are met.

1) the request is not already https (Request.IsSecureConnection=false)
2) the site is SSL enabled. (ie: Certificate installed) ???????

I don't want to redirect to https is no SSL is present

--
Bill
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com