How do I secure a session page?

Previously I was using this code to secure the session web page.

#If Not DebugBuild Then
If Not Session.Secure Then
Dim Host As String = Session.Header(“Host”)
Dim URL As String = “https://”+ Host

ShowURL(URL)
End If
#EndIf

This is no longer working because ShowURL does not exist. Is there another way to secure the session? Thanks for helping.

Try GoToURL

Seriously that easy. LOL… Sorry Greg… lol