You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kkolinko <gi...@git.apache.org> on 2018/09/17 08:26:57 UTC

[GitHub] tomcat issue #122: Added a default value for ApplicationSessionCookieConfig#...

Github user kkolinko commented on the issue:

    https://github.com/apache/tomcat/pull/122
  
    The javadoc that you linked
    https://docs.oracle.com/javaee/7/api/javax/servlet/SessionCookieConfig.html
    says "Returns: [...] or null if setName(java.lang.String) was never called"
    
    Thus it documents null as the default value.
    
    BTW, the cookie name can be overwritten by sessionCookieName attribute on Context,
    http://tomcat.apache.org/tomcat-9.0-doc/config/context.html#Common_Attributes


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org