I’m trying to get information from a cookie into Alfresco Share. I have a Filter setup where I can read the cookie, but I’m not sure how to pass that information onto an extension inside of Share or to a piece of code inside of Share that can do something with the information. Does anyone know how to get information from a Cookie into Alfresco Share?
Share
In case someone else has this issue, here’s what I ended up doing:
1) Read the cookie from inside the filter.
2) Set a session variable:
3) Read the value from inside the extension:
4) Added the following to Tomcat’s web.xml:
Also, it looks like I mis-spoke in my original question, as I the extension existed on the Alfresco layer rather than in the Share layer. However, I assume it’d be the same if your extension existed in the Share layer.