What are the different use cases of Rack::Session::Pool and Rack::Session::Cookie?
As far as I understand (correct me if I'm wrong):
Cookie
stores all the session key:value pairs directly within the cookie (marshalled)Pool
only stores an id in the cookie, and maintains the rest of the session hash within@pool
So: what are the implications/reasons for choosing one over the other? what's @pool
? Why does Pool
need to expose a different public interface from Cookie
? Why is the documentation so lacking?