Forum: Ruby on Rails Upgrading rails to 2.3.2 - CookieOverflow issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Rajat G. (Guest)
on 2009-04-21 02:13
(Received via mailing list)
Folks,

I am trying to upgrade system from rails 1.3.x to 2.3.2 and getting
this error -

  Status: 500 Internal Server Error
  ActionController::Session::CookieStore::CookieOverflow
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
session/cookie_store.rb:102:in `call'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
reloader.rb:9:in `call'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
failsafe.rb:11:in `call'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
vendor/rack-1.0/rack/lock.rb:11:in `call'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
vendor/rack-1.0/rack/lock.rb:11:in `synchronize'

How do I fix it?

Please help.

Thanks.
Rajat
Igor K. (Guest)
on 2009-04-21 12:18
Do not use session for storing objects (by defaults session in rails
using cookies) or use DB session storage
max size 4K

Rajat G. wrote:
> Folks,
>
> I am trying to upgrade system from rails 1.3.x to 2.3.2 and getting
> this error -
>
>   Status: 500 Internal Server Error
>   ActionController::Session::CookieStore::CookieOverflow
>     /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
> session/cookie_store.rb:102:in `call'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
> reloader.rb:9:in `call'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
> failsafe.rb:11:in `call'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
> vendor/rack-1.0/rack/lock.rb:11:in `call'
>     /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
> vendor/rack-1.0/rack/lock.rb:11:in `synchronize'
>
> How do I fix it?
>
> Please help.
>
> Thanks.
> Rajat
Rajat G. (Guest)
on 2009-04-21 22:15
(Received via mailing list)
Thanks. I am doing active_record_store now and it is working but now I
have another set of issues. Phew! upgrading is a pain in butt.

On Apr 21, 1:18 am, "Igor K." <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.