We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5e335 commit 9e7736bCopy full SHA for 9e7736b
spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java
@@ -308,7 +308,7 @@ public void setCookieName(String cookieName) {
308
/**
309
* Sets the maxAge property of the Cookie. The default is to delete the cookie when
310
* the browser is closed.
311
- * @param cookieMaxAge the maxAge property of the Cookie
+ * @param cookieMaxAge the maxAge property of the Cookie (defined in seconds)
312
*/
313
public void setCookieMaxAge(int cookieMaxAge) {
314
this.cookieMaxAge = cookieMaxAge;
0 commit comments