Session Expiry Hook

I'm fairly certain that Rails doesn't have a documented session expiry
hook or something to that effect. I am looking to gather some usage
data and want to tap into when Rails expires sessions. How would I go
about doing that, or where should I look?

I am using Rails 3.0.5 and will be deploying the Heroku.