[Nitro] Sporadic 'Found altered cookie' errors

George Moschovitis george.moschovitis at gmail.com
Thu Sep 6 16:43:21 EDT 2007


How about sending a nice Darcs patch. You will help the project and get your
name in the CONTRIBUTORS list ;-)

thank you,
-g.

On 9/6/07, Bill Kelly <billk at cts.com> wrote:
>
>
> 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
>
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070906/686aa94f/attachment.html 


More information about the Nitro-general mailing list