How to destroy objects associated with cookie-based sessions?

If the id of an ActiveRecord object is stored in a cookie-based session, how can that object be destroyed when the session expires? I am aware of a technique for doing this with db-backed sessions, but I'm not clear on how this could be done with Rails 2.0 cookie-based sessions. Any help would be appreciated.