store the ses cookie globally