Nezir Zahirović

VB.NET Check if Session is not empty

This is most useful line of code when we need to do simple check if Session content is not empty:

VB.NET

IF (Session("Regije") IsNot Nothing OrElse [String].Empty.Equals(Session("Regije")) Then

End IF
SHARE