I'm trying to set up the SSL in my web app, but don't know if i'm doing it right, or if even i'm taking the right steps in the right order.
I have a function in a class that returns the secure URL (https://mydomain.com/...aspx) if the current url is not secure (http)
Friend Function ForceSSL(ByVal url As String, ByVal rawUrl As String) As String
Dim ssl As String = ""
If Not url.StartsWith("https") Then ssl = "https://mydomain.com" + rawUrl
(Though in develop environment It's like "https://localhost:port" + rawUrl)
when the function returns ssl value, if it's not empty, then the master page redirects to the new url... but the browser is not showing it...
thanks in advance
View Complete Post