+

Search Tips   |   Advanced Search

Cookie rule

Use cookie rules to determine how we want the cookie to be handled.

The following options are available:

  • The cookie can be made visible for the client that calls the outbound HTTP connection.

  • The cookie can be wrapped in another cookie.

  • The cookie can be stored in either of the following types of cookie store:

    • A cookie store that is scoped for the session

    • A cookie store that is scoped for the request

    • A persistent cookie store.

To configure the cookie rules, use the following attributes:

    cookie
    Required. We can specify multiple cookie attributes. cookie attributes contain a wildcard expression of a cookie name for which this cookie rule applies.

    scope
    Optional. The scope attribute denotes the scope for which the cookie is shared. The following scope values are valid:

      user
      Default value. It defines the cookie is scoped to the user that receives the cookie from the remote server.

      system
      This value defines the cookie as shared. That means that all clients of an outbound connection that establish a connection use the same cookie.

      application
      This value determines the cookie is scoped to the application from which the outbound connection is established.

    handling
    Optional. It determines how to proceed with cookies defined by the remote server in outbound HTTP connections: The following handling values are valid:

      passthru
      Default value. It leaves the cookie unchanged. The cookie is returned to the user of the outbound HTTP connection. It is up to the caller of the outbound HTTP connection to handle this cookie.

      wrap
      This value wraps this cookie in another cookie. If we specify this value, the transformation rules define the characteristics of this transformation.

      block
      This value blocks this cookie. If the cookie is set by the caller of the outbound HTTP connection, the cookie is not sent to the remote host. In the same manner, cookies set by the remote system are not received at the outbound HTTP connection.

      store-in-request
      Stores the cookie in a cookie store for the duration of the HTTP request. Cookies set by the remote host are filtered out by the cookie handling filter. When the next HTTP connections are made, the stored cookies are added to the request header of this request.

      store-in-session
      Stores the cookie in a cookie store for the duration of the HTTP session. Cookies set by the remote host are filtered out by the cookie handling filter. When the next HTTP connections are made, the stored cookies are added to the request header of this request.

      store-persistent
      Stores the cookie in a persistent cookie store. Cookies set by the remote host are filtered out by the cookie handling filter. When the next HTTP connections are made, the stored cookies are added to the request header of this request.


Parent Description of the outbound HTTP connection configuration script