How can I load a session from the cookie store manually?

Hi all,
I'm trying to achieve something a bit unusual - I want to use a
session_id I have to retrieve the session object from the CookieStore.
Obviously, Rails does it somehow but I couldn't figure out how. Can
anyone shed some light?

Thanks :wink:

This should help you do that

Basically cookie consists of two parts. First is session data base 64
encoded and then url encoded, second is SHA1 hash of session data and
secret server side password.