Fabian asked:

How do I change the session cache type?

How do I change the session cache type (to use og instead of memory sessions)

(2 attempts)

Fabian answered:

Just set the following in your config or run.rb:

Nitro::Session.cache_type = :og
other Session.cache_type s:

Rating: 5

Kashia answered:

Please note that if you use the Og store, you have to initialize the Og store after setting the Session type to Og:

Nitro::Session.cache_type = :og

Og.setup(:store => ....)

The order is important here, first the session type, then the Og store.

Rating: 4