Getting the session cookie name


I have a session in my app.

A session is just a cookie that references something in my db, right?

I’m using the swfupload code and I need to have it include the cookie
in it’s headers when it makes a request.

I see when I make ajax requests the cookie is named:


How can I get this string in rails so I can set this in the header?