on 01-03-2019 12:42 PM
Dear experts, et. al.,
We are planning to use OCC v2, which is stateless. However, we have the problem that our current hybris shop relies heavily on session attributes, etc. How would you approach this? Does hybris offer any guide on how to transition from OCC v1 to v2 and stop relying on session-related attributes?
Kind regards,
L.
You can still reuse the session concept because it's present but you need to make sure that right values being propagated to the session on every OCC call
Regarding transition - have you seen Upgrade guide?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A session is being created by Hybris framework on every request, so it's always present in the request processing context, so you can still partially rely on attributes kept in the session, however it's now your duty to make sure that every request actually gets these attributes somehow. And of course you cannot rely on a session as being container for data kept between requests.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.