The session cookie parameters specify properties for cookies generated by the Sun ONE Application Server. You open the Session Cookie property editor by selecting the Cookie Param property and its ellipsis (...) button from the Sun ONE AS pane of the web.xml property sheet.
![]() |
A cookie is a small collection of information that can be transmitted to a calling browser, which retrieves it on each subsequent call from the browser so that the server can recognize calls from the same client. A cookie is returned with each call to the site that created it, unless it expires. |
To add a session cookie parameter:
To edit a session cookie parameter:
To remove a session cookie parameter:
The following describes session persistence parameters:
Property Name | Value |
---|---|
cookieName | The name of the cookie used for session tracking. |
cookiePath | 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 Sun ONE Application Server. You can set the path to a narrower mapping to limit the request URLs to which the browser sends cookies. |
cookieMaxAgeSeconds | The expiration time, in seconds, after which the browser expires the cookie. |
cookieDomain | The domain for which the cookie is valid. |
cookieComment | The comment that identifies the session tracking cookie in the cookie file. Applications can provide a more specific comment for the cookie. |
See also | |
Web Module Property Sheet: Sun ONE AS Tab |