Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Client Context to store session data

shirley_lenny-Z
Level 1
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
Sham_HC
Correct answer by
Level 10
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
Sham_HC
Correct answer by
Level 10
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