What is the best way to check for the existence of a session variable in ASP.NET C#?
I like to use String.IsNullOrEmpty() works for strings and wonder
String.IsNullOrEmpty()
If you know it's a string, you can use the String.IsEmptyOrNull() function.