Skip to content

CookieLocaleResolver maxAge documentation wrong [SPR-15155] #19721

Closed

Description

@spring-projects-issues

Mike Noordermeer opened SPR-15155 and commented

https://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-localeresolver-cookie states:

cookieMaxAge default: Integer.MAX_INT

The default is null though, so either the documentation needs updating, or the CookieLocaleResolver needs updating (null creates a session-bound cookie, which is kind of useless if there is also a SessionLocaleResolver)


Affects: 4.3.5

Issue Links:

Activity

  1. spring-projects-issues commented on Jan 17, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    We're effectively using the Servlet container's defaults there if not explicitly specified. I've updated our documentation accordingly.

  2. added this to the 4.3.6 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions