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:> 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-- Posted via http://www.ruby-forum.com/.
Maybe Matching Threads
- CookieOverflow - 4k Session?
- Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
- CookieStore and Session data via POST vars (no cookies)
- [LLVMdev] Code generation support in llvm for windows phone
- Storing an order object in a cookie based session