I am adding ssl to a site that never had it. I can get it to work but I need to be able to test my code on a test server which doesn't have ssl. So I was thinking of checking a variable and depending on it's value I would redirect to a http or a https.
I am using this code that works fine to non secure pages.
What I want to do is this
If GetUsesSSL = "Yes" Then
'This is the none secure site
'This is the secure site
" & "~/Orders/Order Form.aspx")
What is the syntax to use the existing directory with https