Yes, after wading through the ROR's config files. I found 
"config/initializers/session_store.rb" sets the key:

ActionController::Base.session = {
  :key         => '_app_session',
  :secret      => 'asdfasfasfasfasfasfasdfasfasdfasdfasdfasfasfasfasdfasfsafaf'
}

This is what needs to be set (cookie) to start sticky session.

Thanks,

-Ray

On Sep 11, 2010, at 8:52 PM, François Beausoleil wrote:

> Hello Ray,
> 
> I haven't specifically tried with Pound, but I have had great success
> with Passenger (aka mod_rails). To my knowledge, there's nothing
> specific regarding Hobo that a plain Rails configuration can't fix.
> 
> http://www.modrails.com/
> 
> Hope that helps!
> François
> 
> On 10 sep, 19:52, raygao <[email protected]> wrote:
>> Hi,
>> 
>> I have an hobo application up and running. Now, I want to load balance
>> it using Pound on the front-end and Mongrel on the backend.
>> 
>> The only problem that I have is with the login. Somehow, it wouldn't
>> let me login with load-balancer. e.g. Pound running on port 3000.
>> Mongrel on 3001 - 3003.
>> 
>> When I point the browser tohttp://app:3000, the login will not work
>> and complains invalid username and password.
>> Yet, when I go to the backend directlyhttp://app:3001orhttp://app:3002,
>> the same username and password works fine.
>> 
>> I suspect that this is an issue with the cookie or auth token. I tried
>> to modify this in Pound.cfg with
>> Session
>>   Type Cookie
>>   ID "     auth_token"   or           "_<app>_session"
>>   TTL 300
>> End
>> 
>> But, it is still not working. So, my question is that does Hobo use
>> cookie for authentication and login? If so, which cookie is the stick
>> session for login?
>> 
>> Has anyone gotten this to work?
>> 
>> best,
>> 
>> -Ray
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Hobo Users" 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/hobousers?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to