title: Accessing the "session key" cookie name from anywhere in Rails
body: <p>We are building a plugin for Rails to be used within iframe Facebook applications, and at one point we need to check if Rail's session id cookie as been set or not.</p>
  
  <p>By default, this cookie is named <em>_myprojectname_session</em>, what we need to find out is the actual name of the cookie itself. So if it's not set, we can do some redirects to make sure the cookies are set.</p>
  
  <p>How do we access the damn name of the cookie from anywhere? Or at least from within a controller?</p>