On Thu, Jul 2, 2009 at 7:55 AM, Xdmx Xdmx<[email protected]> wrote: > > Hi, i need that all the subdomains of an app (using subdomain_fu) use > '.domain.com' as domain for all cookies. > I've set ActionController::Base.session_options[:domain] = '.domain.com' > and it works...for just the session... how can i set this also for > common cookies ? (created with cookies[:name] = {:value => value, > :expires => 6.months.from_now} )
Read the Rails API doc? -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

