You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,10 @@ To set up Hazelcast Session Clustering:
104
104
<param-name>cookie-path</param-name>
105
105
<param-value>/</param-value>
106
106
</init-param>
107
+
<init-param>
108
+
<param-name>cookie-max-age</param-name>
109
+
<param-value>-1</param-value>
110
+
</init-param>
107
111
<init-param>
108
112
<param-name>use-request-parameter</param-name>
109
113
<param-value>false</param-value>
@@ -136,6 +140,7 @@ Following are the descriptions of parameters included in the above XML.
136
140
-`cookie-path`: Path of the session ID cookie. Its default value is based on the context path of the incoming request.
137
141
-`cookie-secure`: Specifies whether the cookie only be sent using a secure protocol. Its default value is false.
138
142
-`cookie-http-only`: Specifies whether the attribute `HttpOnly` can be set on cookie. Its default value is false.
143
+
-`cookie-max-age`: Specifies the maximum age of the cookie in seconds. Its default value is `-1`, meaning the cookie is not stored persistently and will be deleted when the browser exits.
139
144
-`config-location`: Location of Hazelcast configuration. It can be specified as a servlet resource, classpath resource or as a URL. Its default value is `hazelcast-default.xml` or `hazelcast.xml` in the classpath.
140
145
-`instance-name`: Name of an existing Hazelcast instance, if you want to use it. Its default value is null. If you do not have an instance, then you should create one.
141
146
-`use-client`: Specifies whether you want to connect to an existing cluster as a client. Its default value is false.
0 commit comments