You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All _closeSession does is unsetting a local variable.
To achieve desired effect, $session would have to be passed by reference and value overwritten instead of unsetting.