Sessions across subdomains

You have to change the cookie domain:

http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionOptions

Scroll to the bottom.