Highlighted

HTTPSession or ClientContext

NitroHazeDev

05-02-2018

All,

I do have a requirement where we have users stored in Hybris and we would have service calls to get the authentication tokena nd user object from Hybris, we would like to have this stored, since based on the role for the user we determine what data gets displayed.

Along with the user object i plan on storing JSON responses for data to be displayed on the page.

I plan on storing user object and json data in HTTPSession,

1. is this something good to proceed with or do i need to evaluate clientcontext?

2. Any considerations to bear in mind during the design?

My assumption is that to use client context i will need to have users stored in aem, which is not the case here..

I am on aem 6.2

Please let me know.

Regards,

Nicole

Replies

Highlighted

NitroHazeDev

07-02-2018

Does it need to be tied to a user? users are not stored in aem

And can i use it like the local storage?

Does it require customization?

Any size constraints- i have like >5MB JSON data .