# SRVE8111E:The application,{0},is trying to modify a cookie which matches a pattern in the 错误之解

<!-- Session Config -->
<session-config>
<session-timeout>15</session-timeout>
<http-only>true</http-only>
<secure>false</secure>
</session-config>

https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.messages.doc/com.ibm.ws.webcontainer.resources.Messages.html

SRVE8111E: The application, {0}, is trying to modify a cookie which matches a pattern in the restricted programmatic session cookies list [domain={1}, name={2}, path={3}].
Explanation     The administrator has disabled changing the cookie configuration for the cookie matching the domain, name, and path
Action     Either modify the application to use a different cookie name, domain, or path or modify the restricted programmatic session cookie values 

1、在web.xml中删除掉 session-config 相关配置；然后在WAS控制台，配置对应的应用程序的“会话管理”相应的内容即可；