Last active
August 29, 2015 14:28
-
-
Save ShigeoTejima/6dbd964ad4860ca0fb80 to your computer and use it in GitHub Desktop.
set cookiePath for jsessionid
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd"> | |
<glassfish-web-app error-url=""> | |
<class-loader delegate="true"/> | |
<jsp-config> | |
<property name="keepgenerated" value="true"> | |
<description>Keep a copy of the generated servlet class' java code.</description> | |
</property> | |
</jsp-config> | |
<session-config> | |
<cookie-properties> | |
<property name="cookiePath" value="/foo/bar"/> | |
</cookie-properties> | |
</session-config> | |
</glassfish-web-app> |
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
TIP: If you want to look at the Schema Definitions | |
to see the complete set of elements and attributes | |
supported by the Extension/Bindings-Deployment Descriptors | |
you may check the xsd's located | |
in the <WAS_INSTALL_ROOT>/properties/schemas | |
- folder where they are placed during WAS installation. |
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> | |
<path>/foo/bar</path> | |
</cookie-config> | |
</session-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment