Use Rack::Session::Cookie to save only session-related info in the cookie and use memory to save all the other data.