Ruby on Rails Monday, May 3, 2010

I want to set default cookie domain for my application to
".mydomain.com" to allow cookie session be preserved across
subdomains.
I use => config.action_dispatch.session = {:domain =>
".mydomain.com"} in application.rb, but thats not working. The cookie
is saved as 'mydomain.com'

Thanks for the help!

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment