> that should be ok.
ok, i'll try directly in production mode
> Those are all really differnt domains. Setting the domain to
> users.local would allow sharing with anything.users.local and
> users.local but nothing more. Remember to restart the app between
> changes
yep, i restart it everytime
> you'd need something like
>
> if RAILS_ENV=='production'
> config.action_controller.session = {
> :session_domain => "domain.com"
> ...
> else
>
> end
or i could set it directly in the enviroment folder, for production.rb
and development.rb..
> but like I said foo.users.localhost and foo.blogs.localhost will never
> be able to share cookies (and hence sessions. You need an intermediate
> domain, eg foo.users.domain.localhost and foo.blogs.domain.localhost
about the dev enviroment i don't care too much, but the production env
in that case should works (as the intermediate domain would be the real
domain, so domain.localhost would be domain.com)
thank you
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---