> in config/initializers/session_store.rb
>
> MyApp::Application.config.session_store :cookie_store, :key =>
> '_my_app_session', :domain => 'xxx.com'
>

the solution I've found to work consistently is to modify as above,
but set :domain => '.xxx.com'

Having the leading period (.) will set a common cookie that is shared
by all subdomains.  I use this technique to handle a secure subdomain
vs. a www subdomain, without creating new sessions between the two.

Kevin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to