Re: [Dspace-tech] Caching and vary by headers

2012-12-12 Thread Ian Boston
Hi, On Wednesday, December 12, 2012, helix84 wrote: > On Wed, Dec 12, 2012 at 9:11 AM, Ian Boston > > wrote: > > Is there a standard way of getting hold of the userID in Cocoon so I > > can use the SetHeader[1] action in a pipeline in the theme ? > > Hi Ian, > > I've never done this, but here's

Re: [Dspace-tech] Caching and vary by headers

2012-12-12 Thread helix84
On Wed, Dec 12, 2012 at 9:11 AM, Ian Boston wrote: > Is there a standard way of getting hold of the userID in Cocoon so I > can use the SetHeader[1] action in a pipeline in the theme ? Hi Ian, I've never done this, but here's documentation that explains what needs to be done: http://wiki.apache

[Dspace-tech] Caching and vary by headers

2012-12-12 Thread Ian Boston
Hi, Is there a standard way of getting hold of the userID in Cocoon so I can use the SetHeader[1] action in a pipeline in the theme ? I want to add X-User: to each response that is authenticated. where token is a sha1 of the userID. Thanks Ian 1 http://cocoon.apache.org/2.2/core-modules/core/