【发布时间】:2017-07-13 07:40:47
【问题描述】:
在将参数传递给 POST 路由告诉我时,我不断收到错误消息
Warning! Rack::Session::Cookie data size exceeds 4K.
Warning! Rack::Session::Cookie failed to save session. Content dropped.
我解密了 cookie,它绝对没有任何问题......它看起来和它应该的完全一样......
{"session_id"=>"94a15819b3b915556c120a5e83c75bfaab83bfce555bb81e78512adabbbbe654"}
{"user"=>#<OEDApp::User _id: 58502d2d07a0ee469cc0c065, created_at: 2016-12-13 17:17:33 UTC, updated_at: 2016-12-22 18:43:48 UTC, first_name: "", last_name: "", email: "", phone_number: "", encrypted_password: "XbUAU7w3poTt8uE7OUGwJw==", access_level: "Manager", is_active: true, is_admin: true>}
{"login"=>true}
Rack Session Cookies 是否有任何已知的错误会导致错误触发?
【问题讨论】: