Checking for the Global Session Variable