Author: nereo.lopez | Posted on: 10/20/2010 8:28:08 AM | Views : 218

Hi everyone,
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 Return ssl End Function(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...
Any tips?
thanks in advance

...

Go to the complete details ...