sendOnlyIfModified

When set to true, session data is not re-sent if unchanged from the incoming value. This avoids unnecessary Set-Cookie headers but prevents cookie expiration refresh. Session classes should properly implement equals() for this to work correctly. Default: false.

Report a problem