Customize Client Cookie Forwarding

A client can send cookies to the WSRP Consumer as part of a HTTP request. You can customize the WSRP Consumer to forward specific client cookies to the Producer WSRP ports or to other resources that are served by the WSRP Consumer as a proxy.

By default the WSRP Consumer does not forward client cookies to WSRP Producers or other resources. To customize the WSRP Consumer to forward specific client cookies, proceed as follows:

  1. Set the following property in the HTTP Client Service:

      wsrp.consumer.cookieforward.cookiename = hostdomainnames  [; cookiepriority]

      Specify a separate property for each client cookie that you want to be forwarded.

  2. Restart the portal or the cluster for the new setting to become active.

Description:
wsrp.consumer.cookieforward.cookiename = hostdomainnames [; cookiepriority]

Example properties that contain cookie forwarding rules are as follows:
wsrp.consumer.cookieforward.SAMPLECOOKIE = alpha.company.com,.sample.org


wsrp.consumer.cookieforward.COOKIE2 = .myorg.com,beta.sample.com;clientfirst

The WSRP Consumer does not send cookies when it requests the WSDL service description documents from a Producer.


Parent

Customize the WSRP configuration of Consumer portal


Related tasks


Customize the WSRP resource proxy
Parallel portlet rendering with WSRP
Switching off the caching of Producer service descriptions
Set service configuration properties

 


+

Search Tips   |   Advanced Search