
Handling Null Session and Request Variables
In ASP.NET, if you try to use a session or request variable before it has been set, you’ll get an error. The following functions prevent this by checking for nothing and returning a null string if this is true. Public Shared Function zGetSessionValue(ByVal se As HttpSessionState, ByVal keyItem As String)