Created
July 26, 2018 08:10
-
-
Save basteez/4cb41a734b18ee140886bce42b13ebd9 to your computer and use it in GitHub Desktop.
JavaEE - web.xml session complete configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <session-config> | |
| <session-timeout>30</session-timeout> | |
| <cookie-config> | |
| <name>JSESSIONID</name> | |
| <domain>example.org</domain> | |
| <path>/shop</path> | |
| <comment><![CDATA[Keeps you logged in. See our privacy policy for | |
| more information.]]></comment> | |
| <http-only>true</http-only> | |
| <secure>false</secure> | |
| <max-age>1800</max-age> | |
| </cookie-config> | |
| <tracking-mode>COOKIE</tracking-mode> | |
| <tracking-mode>URL</tracking-mode> | |
| <tracking-mode>SSL</tracking-mode> | |
| </session-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment