Upgrading rails to 2.3.2 - CookieOverflow issue

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

Do not use session for storing objects (by defaults session in rails
using cookies) or use DB session storage
max size 4K

Rajat Garg wrote: