OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [wsrp-interop] Question about cookies returned during markup operations


Nate,

 

I thought CookieProtocol just had something to do with how often initCookie is called (for load balancing requirements) and not so much if you set a cookie in other calls.  To me if you set HTTP cookies other than in initCookie, then it makes the most sense to set it in PBIA due to its blocking nature and read it in other calls like GM and GR.  We have used cookies in this fashion to simulate portlet-to-portlet communication prior to WSRP 2 but only a very few portals handle setting cookies in other calls.

 

Nader


From: Nathan Lipke [mailto:nathan.lipke@oracle.com]
Sent: Tuesday, February 17, 2009 3:52 PM
To: wsrp-interop@lists.oasis-open.org
Subject: [wsrp-interop] Question about cookies returned during markup operations

 

When a producer sets cookies (in the HTTP Response headers) outside of an initCookie() call there is no guidance in the spec as to if and how these cookies should be returned to other portlets on the same producer. This should be specified.

My interpretation is:
It depends on the value of the CookieProtocol in the service description as follows:

  • none - each portlet has its own cookies
  • perUser - all portlets on a given producer share cookies
  • perGroup - all portlets in a group share cookies.

Does this seem right? If so should it be added to errata?

Thanks,

Nate



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]