[Nitro] Quick session questions

Lars Olsson lasso at lassoweb.nu
Mon Jun 12 14:10:39 EDT 2006

That worked great. Thanks!

Seems a bit strange though...It seems quite unlogical to me that the 
Session references something that isn't initialized yet. But never 
mind...as long as it works. :)


Lars Olsson
lasso at lassoweb.nu

Jonathan Buch skrev:
> Hi,
> reorder your code like this.
>> Nitro::Session.cache_type = :og
>> Og.setup(
>> 	:destroy => true,
>> 	:store => 'sqlite',
>> 	:name => 'foo'
>> )
> The Og session handler creates a new Og class, which has to be
> loaded by Og (which is done by running a Og.setup after doing so).
> I hope this works, untested, but it should. (I used Og session
> store before, so I'm quite sure it does.)
> Kashia

More information about the Nitro-general mailing list