[Nitro] Quick session questions

Jonathan Buch john at oxyliquit.de
Mon Jun 12 13:56:06 EDT 2006


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.)


Feel the love

More information about the Nitro-general mailing list