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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

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


Subject: Re: [wsrp] initCookie perUser semantics


I remember where I got my interpretation from. See AS007 in the 
conformance spreadsheet, which reads

"If the Consumer uses a Producer who has set requiresInitCookie to a 
value other than "none", it shall:   1. Invoke initCookie for each 
portlet from such a Producer for each new end-user   2. Return the set 
cookie(s) only for this end-user (see AS006, AS023 and AS024)."

We need to fix the first item. I suggest the following:

"If the Consumer uses a Producer who has set requiresInitCookie to a 
value other than "none", it shall:   1. Invoke initCookie from such a 
Producer for each new end-user   2. Return the set cookie(s) only for 
this end-user (see AS006, AS023 and AS024)."

Subbu

Rich Thompson wrote:
> 
> I think the primary reason this question tends to come up is 
> implementations that are mapping the portlet session to the http 
> session, which is also the key many clustering systems use relative to 
> repetitive routing to a node within the cluster. The solution which 
> gives per portlet per user is to use a cookieProtocol of perGroup and 
> then put each portlet in its own group. The spec is pretty clear that a 
> cookieProtocol of perUser means once for each user, independent of the 
> number of portlets accessed.
> 
> Rich
> 
> 
> *Richard Jacob <richard.jacob@de.ibm.com>*
> 
> 02/07/06 09:40 AM
> 
> 	
> To
> 	Subbu Allamaraju <subbu@bea.com>
> cc
> 	OASIS WSRP TC <wsrp@lists.oasis-open.org>
> Subject
> 	Re: [wsrp] initCookie perUser semantics
> 
> 
> 	
> 
> 
> 
> 
> 
> it's once per all portlets or per group if required by producer.
> Also only per user if per user is really requested.
> It's not once per portet (otherwise the groups session thingie would not
> work).
> 
> Mit freundlichen Gruessen / best regards,
> 
>        Richard Jacob
> ______________________________________________________
> IBM Lab Boeblingen, Germany
> Dept.8288, WebSphere Portal Server Development
> WSRP Team Lead & Technical Lead
> WSRP Standardization
> Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
> Email: mailto:richard.jacob@de.ibm.com
> 
> 
>                                                                          
>             Subbu Allamaraju                                              
>             <subbu@bea.com>                                              
>                                                                        To
>             02/06/06 11:48 PM         OASIS WSRP TC                      
>                                       <wsrp@lists.oasis-open.org>        
>                                                                        cc
>                                                                          
>                                                                   Subject
>                                       [wsrp] initCookie perUser semantics
>                                                                          
>                                                                          
>                                                                          
>                                                                          
>                                                                          
>                                                                          
> 
> 
> 
> 
> Could someone clarify if the initCookie operation should be called once
> per user's session for each portlet on a producer, or once for all
> portlets on a producer?
> 
>  From earlier discussions, I vaguely recall that perUser implies that
> the initCookie should be called once per portlet per user's session on
> the consumer.
> 
> Thanks
> 
> Subbu
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in
> OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 
> 
> --------------------------------------------------------------------- To 
> unsubscribe from this mail list, you must leave the OASIS TC that 
> generates this mail. You may a link to this group and all your TCs in 
> OASIS at: 
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



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