Session Cookie Property Editor

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.

note  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.

Adding a session cookie parameter

To add a session cookie parameter:

  1. From the Session Cookie property editor, click Add.
  2. Select the parameter name in the Param Name field and type its value in the Param Value field. See List of Parameters below for possible parameters.
  3. Edit the description of the parameter in the Description field.
  4. Click OK. The information you have specified is reflected in the property editor. You may add additional parameters by clicking Add.

Editing a session cookie parameter

To edit a session cookie parameter:

  1. From the Session Cookie property editor, select the parameter and click Edit.
  2. Change the parameter name, value, and description in the dialog box. See List of Parameters below for possible parameters.
  3. Click OK. The information you have modified is reflected in the property editor.

Removing a session cookie parameter

To remove a session cookie parameter:

List of Parameters

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

Legal Notices