Getting the session cookie name

Hi,

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:

_test-app_session_id=4630ff4b078899ea7c4c07e6dba26f89

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