Rails, by default, stores session data in cookies. The cookies have a storage limit of 4K and cookie overflow exception is raisedif we attempt to store more than 4K of data in it. Cookie overflow issue with Rails 4.xFlash messages are persisted across requests with the help of session storage. Flash messages like flash.now are marked as discarded for next request. So, onnext request, it gets delet

