fix of  _SESSION - indefined variable
Merge pull request #576 from mariroz/fix-session-livetime

fix of  _SESSION - indefined variable