Skip to content

Instantly share code, notes, and snippets.

@adamcarr
Created June 2, 2011 03:45
Show Gist options
  • Save adamcarr/1003892 to your computer and use it in GitHub Desktop.
Save adamcarr/1003892 to your computer and use it in GitHub Desktop.
Fix for getting session store cookies to work across subdomains
#Rails.application.config.session_store :cookie_store, :key => '_bloggit_session', :domain => :all
Rails.application.config.session_store :cookie_store, :key => '_bloggit_session', :domain => '.example.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment