Client Context -> Customization using user profile data from Websphere Commerce | Community
Skip to main content
aalfarocr
Level 2
October 16, 2015
Solved

Client Context -> Customization using user profile data from Websphere Commerce

  • October 16, 2015
  • 3 replies
  • 1399 views
Hi all,
 
I integrated the login mechanism of a CQ5 site to use the Websphere Commerce authentication, so the profiles of the users of my CQ5 site lives on Websphere Commerce, now I want that to feed the "Client Context" component with that data (User profile information on Websphere Commerce).
 
At this moment I got an API to retrieve from Websphere Commerce the profile information of the current user logged into my CQ5 site, but my question is how I can override and set the correct data (Websphere Commerce data) into the cookies used by the the "Client Context" component ?
 
Any idea of when and how the Client Context cookie "SessionPersistence" is created ?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See this CQ doc topic:  http://dev.day.com/docs/en/cq/current/developing/client_context_detail.html.

Hope this helps

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015
October 16, 2015

Hi ,,

We are integrating Websphere ecommerce engine with AEM. Please share information on this .

Hope you can help us.

Scott_Brodersen
Level 8
October 16, 2015

The cookie is a session store, created using the Client Context javascript API. To interact with a session store, see http://dev.day.com/docs/en/cq/current/developing/client_context_detail.html#Interacting%20with%520Session%20Stores on the page that Scott linked to. There is also a page with information about the API itself: http://dev.day.com/docs/en/cq/current/developing/client_context_detail/ccjsapi.html.

Hope that helps,
scott