When using init :ssr, sessions: true which loads Roda's session plugin, there's no way to provide additional options to that plugin. I would have to use sessions: false and manually set up the Roda plugin as a workaround.
We should add something akin to init :ssr, sessions: true, session_options: { ... } or possibly allow sessions keyword argument to accept an options hash directly in addition to a boolean.
When using
init :ssr, sessions: truewhich loads Roda's session plugin, there's no way to provide additional options to that plugin. I would have to usesessions: falseand manually set up the Roda plugin as a workaround.We should add something akin to
init :ssr, sessions: true, session_options: { ... }or possibly allowsessionskeyword argument to accept an options hash directly in addition to a boolean.