bigbanger
2007-Dec-11 17:04 UTC
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---