Liferay session sharing between guest and logged user
- Category: Liferay
- Published: Friday, 12 June 2020 10:00
- Hits: 4711
Today I'll show you how to solve a problem perhaps not too frequent but useful in some contexts.
The case history is quite simple to explain: while browsing a Liferay site as a Guest user I need to set some session variables and then, when the user logs in, these variables must remain in the session. Although there are several different ways to solve the problem with Liferay, I'll show you what I think to be the safest and most elegant one.
Read more: Liferay session sharing between guest and logged user