fix of issue under nginx and php-fpm
Merge pull request #581 from mariroz/fix-session-livetime

fix of issue under nginx and php-fpm