stevencorona / SessionHandlerCookie

A simple HMAC-cookie based session handler implementation for PHP 5.4's SessionHandlerInterface
MIT License
43 stars 14 forks source link

fix cookie expire date calculation; fix cookie access #7

Closed ckressibucher closed 7 years ago

ckressibucher commented 8 years ago

expire calculation: Allow for setting a value of 0 to the setcookie's expire parameter (which means expires with the client session).

cookie access: fix wrong array index in \SessionHandler\Storage\SecureCookie::get