Error con sesiones

HOla. Me he dado cuenta de que al almacenar un arreglo en una sesion me
da error
¿a que se debe esto? ¿que estoy haciendo mal?
en otras ocasiones si lo he podido hacer.

Este es el codigo del controlador:
@detshow=[]
@opcshow2=Meauxdet.find(:all, :order=>"‘orden’ ASC")
@opcshow2.each do |o|
revision2(o.id)
if !@rdet.nil?

@rdet.each do |c|

En este arreglo se almacenan todos los DETALLES de submenu

disponibles para el usuario
@detshow[@i]=o
@i=@i+1

end

  end
end

session[:opcshowgen]=@detshow

el log development me dice:

Processing BuscarOrController#index (for 127.0.0.1 at 2008-10-15
12:28:21) [GET]
Session ID:
BAh7DzoIY2lhaQY6EXRwb19yZWRvbmRlbzA6DGNzcmZfaWQiJTg2NzBjZmIw%0AOTYwNTlkN2NkNGM0YmM3ZGVlODcyMWUxOgl0YWxsaQ86DnJldHVybl90byIG%0ALzoPb3Bjc2hvd2dlblsLMCIMU09QT1JURSIOT1BFUkFUSVZPIg5DT05TVUxU%0AQVMiC0NJRVJSRSINUkVQT1JURVMiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xs%0AZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA6D3VzdWFyaW9faWRp%0ABzoIaXZhaQ46D2RldHNob3dnZW5bGW86EE1lbnVkZXRhbGxlBzoWQGF0dHJp%0AYnV0ZXNfY2FjaGV7ADoQQGF0dHJpYnV0ZXN7CyILbW9kdWxvIgtUQUxMRVIi%0ACHVybCIbL09QRVJBVElWTy9QUkVTVVBVRVNUTyIHaWQiBzU0IgtvcGNpb24i%0ADk9QRVJBVElWTyIMZG9wY2lvbiIKTlVFVk8iCm9yZGVuIgYxbzsQBzsRewA7%0AEnsLIgttb2R1bG8iC1RBTExFUiIIdXJsIhMvVEFMTEVSL1RBTExFUiIHaWQi%0ABzI3IgtvcGNpb24iDFNPUE9SVEUiDGRvcGNpb24iC1RBTExFUiIKb3JkZW4i%0ABjFvOxAHOxF7ADsSewsiC21vZHVsbyILVEFMTEVS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iC21vZHVsbyILVEFMTEVSIgh1cmwiKC9U%0AQUxMRVIvQ09ESUdPU19SRVBVRVNUT1NfTUFOT19PQlJBIgdpZCIHMzciC29w%0AY2lvbiIMU09QT1JURSIMZG9wY2lvbiIcQ09ESUdPUyBSRVBTLiBNQU5PIE9C%0AUkEiCm9yZGVuIgcxMm87EAc7EXsAOxJ7CyILbW9kdWxvIgtUQUxMRVIiCHVy%0AbCIcL1RBTExFUi9USUVNUE9TX01PREVMT1MiB2lkIgczOCILb3BjaW9uIgxT%0AT1BPUlRFIgxkb3BjaW9uIhdUSUVNUE9TIFBPUiBNT0RFTE8iCm9yZGVuIgcx%0AM287EAc7EXsAOxJ7CyILbW9kdWxvIgtUQUxMRVIiCHVybCIhL1RBTExFUi9Q%0AUkVGRVJFTkNJQVNfQ0xJRU5URSIHaWQiBzQxIgtvcGNpb24iDFNPUE9SVEUi%0ADGRvcGNpb24iGlBSRUZFUkVOQ0lBUyBDTElFTlRFUyIKb3JkZW4iBzE0bzsQ%0ABzsRewA7EnsLIgttb2R1bG8iC1RBTExFUiIIdXJsIhwvVEFMTEVSL1ZBTE9S%0AX01BTk9fT0JSQSIHaWQiBzM5IgtvcGNpb24iDFNPUE9SVEUiDGRvcGNpb24i%0AFFZBTE9SIE1BTk8gT0JSQSIKb3JkZW4iBzE1bzsQBzsRewA7EnsLIgttb2R1%0AbG8iC1RBTExFUiIIdXJsIhkvVEFMTEVSL0xJU1RBU19GSUpBUyIHaWQiBzQw%0AIgtvcGNpb24iDFNPUE9SVEUiDGRvcGNpb24iEUxJU1RBUyBGSUpBUyIKb3Jk%0AZW4iBzE2–8b34a47c0981147bff2ea41f69b8ba1522d90627
Parameters: {“action”=>“index”, “controller”=>“operativo/buscar_or”}

CGI::Session::CookieStore::CookieOverflow
(CGI::Session::CookieStore::CookieOverflow):
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session/cookie_store.rb:112:in
close' C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/cgi/session.rb:324:inclose’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1247:in
close_session' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1292:inprocess_cleanup_without_flash’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/flash.rb:173:in
process_cleanup_without_session_management_support' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:133:inprocess_cleanup_without_components’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/components.rb:161:in
process_cleanup' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:532:inprocess_without_filters’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
process_without_session_management_support' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
process' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:inhandle_request’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
dispatch' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:indispatch_cgi’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
dispatch' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../lib/mongrel/rails.rb:76:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/…/lib/mongrel/rails.rb:74:in
synchronize' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../lib/mongrel/rails.rb:74:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:159:in
process_client' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:158:ineach’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:158:in
process_client' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:in
initialize' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:innew’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:ininitialize’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:in
new' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:282:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:281:ineach’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:281:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongrel_rails:128:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/command.rb:212:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongrel_rails:281 C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:inload’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
load' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:innew_constants_in’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
load' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
new_constants_in' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
script/server:3

Rendering
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
/!\ FAILSAFE /!\ Wed Oct 15 12:28:22 -0400 2008
Status: 500 Internal Server Error
CGI::Session::CookieStore::CookieOverflow
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session/cookie_store.rb:112:in
close' C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/cgi/session.rb:324:inclose’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1247:in
close_session' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1292:inprocess_cleanup_without_flash’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/flash.rb:173:in
process_cleanup_without_session_management_support' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:133:inprocess_cleanup_without_components’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/components.rb:161:in
process_cleanup' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:532:inprocess_without_filters’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
process_without_session_management_support' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
process' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:inhandle_request’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
dispatch' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:indispatch_cgi’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
dispatch' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../lib/mongrel/rails.rb:76:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/…/lib/mongrel/rails.rb:74:in
synchronize' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../lib/mongrel/rails.rb:74:inprocess’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:159:in
process_client' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:158:ineach’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:158:in
process_client' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:in
initialize' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:innew’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:285:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:ininitialize’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:in
new' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:268:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:282:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:281:ineach’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/configurator.rb:281:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongrel_rails:128:inrun’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel/command.rb:212:in
run' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongrel_rails:281 C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:inload’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
load' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:innew_constants_in’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
load' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
new_constants_in' C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' C:/InstantRails-2.0-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
script/server:3

y por lo tanto recibo una pantalla con el siguiente error:

Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error

alguna idea?

Daniel, estás almacenando la sessión en una cookie y supongo que el
pedazo de array que le intentas meter no cabe en el espacio limitado
de una cookie (4 kb?, 64 kb?, ni idea).

El caso es que yo no guardaria nunca un objecto en la sesión, sino
solo los ids.

Aparte comentar que el

@detshow[@i] = o
@i=@i+1

supongo que solo lo utilizas para ir añadiendo elementos al array…
creo que te complicas un poco la vida, puedes utilizar:

@detshow << o

y te olvidas del contador @i

Y como recomendación, yo no utilizaria variables de instancia si no
las vas a necesitar en las vistas, para uso interno utilizo variables
normales. Ya que rails pasa todas las variables de instancia del
controlador a la vista, si estas pasando cosas que no necesitas, estas
consumiendo más recursos de lo necesario. :wink:

Salutaciones,

Isaac Feliu

On Wed, Oct 15, 2008 at 7:03 PM, Daniel E. <
[email protected]> wrote:

alguna idea?

Extracto de [1]

"This cookie-based session store is the Rails default. Sessions
typically
contain at most a user_id and flash message; both fit within the 4K
cookie
size limit. Cookie-based sessions are dramatically faster than the
alternatives.

If you have more than 4K of session data or don’t want your data to be
visible to the user, pick another session store."

[1] http://caboo.se/doc/classes/CGI/Session/CookieStore.html

Diego Fernandez wrote:

On Wed, Oct 15, 2008 at 7:03 PM, Daniel E. <
[email protected]> wrote:

alguna idea?

Extracto de [1]

"This cookie-based session store is the Rails default. Sessions
typically
contain at most a user_id and flash message; both fit within the 4K
cookie
size limit. Cookie-based sessions are dramatically faster than the
alternatives.

If you have more than 4K of session data or don’t want your data to be
visible to the user, pick another session store."

[1] http://caboo.se/doc/classes/CGI/Session/CookieStore.html

Muchas gracias por su ayuda

Será util que los usuarios que lean este hilo sepan , que cuando usamos
muchas sesiones en un metodo, al parecer se recarga una cookie o las
cookies del navegador que almacenan la id de cada sesion.

Despues de eliminar varias sesiones innecesarias del metodo
problemático, se soluciono el problema en cuestion.

En conclusion hay que hacer un uso eficiente de las sesiones.