I'm using a database sessions driven website with CakePHP. I can see a expires field with some numbers in it for each record. I assume that's how Cake knows when to timeout a session.
The thing is that I don't understand very well what those numbers exactly mean, or if I can use them somehow. For example, making a query and getting the value of the expires field of a record, how can I know how much time is left until that session expires? Or if it should be expired already?