Don't close the session if  is set to false
Merge pull request #245 from fguillot/session-patch

Fix session storage bug