I’m trying to check Session has data or not.
Empty value Session check with == false, return false.
Session with content / value check with == true, return false.
Undefined Session check with == false, return false.
Session with null as value check with == false, return false.
What is the proper way to check Session? Please advice, thank you.
P/S: I perform the test at browser console.