How it's accomplished:
Module SesVars
Public Function s(ByVal SesVarName As String, Optional ByVal SesVal As String = Nothing)
If SesVal IsNot Nothing Then System.Web.HttpContext.Current.Session("" & SesVarName & "") = SesVal
If System.Web.HttpContext.Current.Session("" & SesVarName & "") Is Nothing Then s = Nothing : Exit Function
s = System.Web.HttpContext.Current.Session("" & SesVarName & "")
End Function
Public Sub sr(ByVal SesVarName)
System.Web.HttpContext.Current.Session.Remove("" & SesVarName & "")
End Sub
End Module