Added workaround for PHP < 5.4.11 session handling
Merge pull request #298 from stefk/session-fix

Added workaround for PHP < 5.4.11 session handling