On Thu, Jul 2, 2009 at 7:55 AM, Xdmx
Xdmx<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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 ------------------------
hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org