Expand my Community achievements bar.

SOLVED

Client Context to store session data

Avatar

Level 1

Hi,

Need help with accessing Client Context on server side. 
I have an implementation in AEM where httpsession was used to store data. With sticky session being configured on dispatcher, things seemed to work fine on all browsers except Safari [IOS session issue]. I've been asked to use Client Context to save session specific data, rather tha using http session. I find examples to set data in client context using JS API. Is there a way to do the same using a Java API?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Yes client context is not server side implementation & executes at client side. There is no out of the box java api available. You can use application server for session management Or need custom development by making use ResourceProvider.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Yes client context is not server side implementation & executes at client side. There is no out of the box java api available. You can use application server for session management Or need custom development by making use ResourceProvider.