SessionProvider
constructor(name: String, type: KClass<S>, transport: SessionTransport, tracker: SessionTracker<S>, sendOnlyIfModified: Boolean = false)(source)
Parameters
transport
specifies the SessionTransport for this provider
tracker
specifies the SessionTracker for this provider
sendOnlyIfModified
when set to true, session data is not re-sent if unchanged from the incoming value. This avoids unnecessary session response headers. For cookie sessions, this also prevents cookie expiration refresh. Session classes should properly implement equals() for this to work correctly. Default: false.