fixed session bug (issue #215)
Merge pull request #230 from DonutWorks/bug/issue-215

Bug/issue 215