###

alias hbin me

Sharing Sessions Across Subdomain

The part you want to watch out for here is that if you set :domain => :all like is recommend in some places, it simply won’t work unless you’re using localhost. :all defaults to a TLD length of 1, which means if you’re testing with Pow (myapp.dev) it won’t work either because that is a TLD of length 2

1
App.config.session_store ... , :domain => :all, :tld_length => 2

http://excid3.com/blog/sharing-a-devise-user-session-across-subdomains-with-rails-3/ http://stackoverflow.com/questions/10402777/share-session-cookies-between-subdomains-in-rails/15009883#15009883)