On Thu, 12 Mar 2009 04:38:15 -0700 (PDT)
phil <[email protected]> wrote:

> 
> For some reason my users get logged out when they switch to a
> subdomain.


You need to specify a wildcard domain for your auth cookie. The default is to 
use the entire domain.

Here's a blog post explaining how:

http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/#

SH

-- 
Starr Horne
My blog: http://starrhorne.com
Check out my Helpdesk RailsKit: http://railskits.com/helpdesk/


--~--~---------~--~----~------------~-------~--~----~
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