Hello,
We have a rails 2.3 app with a large number of live users, and we have
recently done something to corrupt some users sessions in such a way
that any attempt to use the session object itself raises an exception.
"reset_session" is also raising the same exception, and not clearing
the
session.
Is there a lower-level way to clear the session from the app that
doesn't require the session to be valid? We are using the cookie
session_store.
What is really surprsing to me is that even
"cookies['our_cookie_label']=nil" raises the exception.
The exception is this: "ActionController::SessionRestoreError (Session
contains objects whose class definition isn\'t available. Remember to
require the classes for all objects kept in the session.
(Original exception: #{const_error.message} [#{const_error.class}])"
Unfortunately, since we can't read the session at all, I can't figure
out what object is in it that isn't defined.
Thanks,
Avram
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/0c7bf87abd3d37ef883542e900c06327%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.