Revert to old SESSION global behavior
Merge pull request #900 from TheUnknownOne/master

Revert to old SESSION global behavior