on 2019 Jul 18 1:01 AM
From within my custom backoffice extension I am setting a session attribute from a class that is located in: /backoffice/src
I would like to access this attribute from a separate class which is located in: /src
It seems that a new session is created in each case. So the attribute is not present. In both cases the same type of session service is being used (DefaultSessionService)
Is there anyway to access attributes in this way?
Request clarification before answering.
Hi,
Indeed classes that reside in backoffice/src are available only in web application context, while those from src are available in both root- and webcontext. Nevertheless it does not influence session. What defines session, is user login to particular application.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.