Hi,
I'd like to know if it is possible to retrieve values stored in a Custom session store from a java code.
I looked into the documentation but didn't find anything.
is it possible?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
See following article which explains how you can create your custom store using server data:
http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/
Along with this you will need to have working knowledge of ccjsapi that Scott mentioned in his comment.
- Runal
Views
Replies
Total Likes
See if this older community thread helps: Session Store.
Views
Replies
Total Likes
Hi @smacdonald2008,
Thanks for your reply, but that's not exactly what I am looking for.
Let's say we have a custom session store defined and registered via JS.
Then I have a JSP, and I'd like to grab some property value server side. Is it possible?
Views
Replies
Total Likes
See:
http://docs.adobe.com/content/docs/en/cq/5-6-1/developing/client_context_detail.html#Session Stores
This is the related AEM documentation. I am not seeing any community articles around this use case.
Views
Replies
Total Likes
See following article which explains how you can create your custom store using server data:
http://blogs.adobe.com/aemtutorials/2013/07/24/customize-the-client-context/
Along with this you will need to have working knowledge of ccjsapi that Scott mentioned in his comment.
- Runal
Views
Replies
Total Likes
Hi Runal,
I followed this article and this is working. Actually I'd like to know if some of those values stored in the custom session store can be grabbed in the java code. Let's say I'd like to display some information based on the component. I know I can via js, but is it possible via java in server side?
Thanks
Views
Replies
Total Likes
Hi
Were you able to get the solution to get session store data in java?
Also, would you mind posting the JS solution that worked for you. I am stuck on a similar use case and looking for some help - http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Thx
Views
Replies
Total Likes
Hi,
I wouldn't. As far as I could see, the solution would be try read the cookies to get the SessionStore values. The problem is when their values are stored on the browser LocalStorage.
Thanks
Views
Replies
Total Likes