add expiry to sessions held in cache

fixing this issue with the suggested fix.

https://github.com/andreacfm/Redis-Cache-Extension/issues/2
Merge pull request #3 from clarkie/master

add expiry to sessions held in cache