HTTPS DetectCode Snippet
Here's quick way to ensure that your visitor is accessing your page securely (assuming you have an SSL certificate installed).
The script makes checks the status of the connection, looks for the URL and redirects to the URL in secure mode if needed Code: ASP 3.0 & VBScript
|Code Written By: Mark Armé from codango.net
|To use the code above, click and drag your mouse over the code to highlight it. Then right click on the highlighted code and click "Copy." Now you may paste it into your code editor.
Submit Your Own Code to Codango