On my session.Open() event I check to see if they’re session is secure or not and then reroute them.
if not Session.Secure and not DebugBuild then
dim params() as String
for i as Integer = 0 to Session.URLParameterCount - 1
dim pName as string = Session.URLParameterName(i)
Dim url As String = "https://" + hostname + "/"
if params.Ubound > -1 then url = url + "?" + join(params,"&")
if HashTag <> "" then url = url + "#"+HashTag
I’m not sure if I should “return” after the ShowURL.
I have additional logic initializes session variables.
When I redirect them does it create a new session where I need to pass over the parameters and hash tag.
Or should I not return and still do this initial setup and it will continue through to the HTTPS redirect.