[Nitro] Sporadic 'Found altered cookie' errors
Bill Kelly
billk at cts.com
Thu Sep 6 13:09:43 EDT 2007
From: "Bill Kelly" <billk at cts.com>
>
> It seems that Application#start of nitro/lib/nitro/application.rb
> sets: @session_store = Raw::CookieSessionStore.new
>
> So that when I do app.start, @session_store will be set to
> CookieSessionStore.
>
> I can modify nitro/lib/nitro/application.rb for now, but I was
> wondering if there's a better way that I'm missing?
N.B. I have modified Application#start in nitro/lib/nitro/application.rb
from:
@session_store = Raw::CookieSessionStore.new
to:
@session_store ||= Raw::CookieSessionStore.new
Now I'm able to do:
app.session_store = Raw::MemorySessionStore.new
app.start
Regards,
Bill
More information about the Nitro-general
mailing list