stefangabos / Zebra_Session

A drop-in replacement for PHP's default session handler which stores session data in a MySQL database, providing better performance, better security and protection against session fixation and session hijacking
https://stefangabos.github.io/Zebra_Session/Zebra_Session/Zebra_Session.html
Other
172 stars 85 forks source link

Expiring sessions oddity? #17

Closed oevna closed 7 years ago

oevna commented 7 years ago

We have this scenario:

session.cookie_lifetime = 5184000

When I visit and check the session, the database session_expire column has an epoch of approximately 7 days into the future?

Also, at some point the table row for the session is removed by Zebra_Session and the cookie is left in the browser and the user is forced to login (long before the 60 day cookie_lifetime setting).

What would be the cause of this? Or, how do I obtain the desired 60 day session? Thank you

oevna commented 7 years ago

I think we have found what we think may be the problem, so I'm going to close this. I'll post another issue if it's still unresolved. Thank you.