Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

Properties

The following table describes properties for the cookie-properties element.

Table A–35 cookie-properties Properties

Property  

Default  

Description  

cookiePath

Context path at which the web module is installed. 

Specifies the pathname that is set when the cookie is created. The browser sends the cookie if the pathname for the request contains this pathname. If set to / (slash), the browser sends cookies to all URLs served by the Application Server. You can set the path to a narrower mapping to limit the request URLs to which the browser sends cookies.

cookieMaxAgeSeconds

-1

Specifies the expiration time (in seconds) after which the browser expires the cookie. 

cookieDomain

(unset) 

Specifies the domain for which the cookie is valid. 

cookieComment

Sun Java System Application Server Session Tracking Cookie

Specifies the comment that identifies the session tracking cookie in the cookie file. Applications can provide a more specific comment for the cookie.