diff --git a/README.md b/README.md index 2523756..28c5329 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ more details.. https://github.com/ran-jit/tomcat-cluster-redis-session-manager/w redis.sentinel.enabledTo enable redis sentinel mode
- default: false
- supported values: true/false redis.sentinel.masterRedis sentinel master name
- default: mymaster lb.sticky-session.enabledTo enable redis and standard session mode

If enabled,
  1. Must be enabled sticky session in your load balancer configuration. Else this manager may not return the updated session values
  2. Session values are stored in local jvm and redis
  3. If redis is down/not responding, requests uses jvm stored session values to process user requests. Redis comes back the values will be synced
- default: false + session.persistent.policiessession persistent policies.

- policies - DEFAULT, SAVE_ON_CHANGE, ALWAYS_SAVE_AFTER_REQUEST
  1. SAVE_ON_CHANGE: every time session.setAttribute() or session.removeAttribute() is called the session will be saved.
  2. ALWAYS_SAVE_AFTER_REQUEST: force saving after every request, regardless of whether or not the manager has detected changes to the session.
- default: DEFAULT