Hi,
I have 2 URL parameters jwt and lang. I have retrieved the parameter using
jwt=<something>&lang=fr
public void prepareSession() {
HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
String lang = request.getParameter("lang");
String jwt_token = request.getParameter("jwt");
FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().put("jwt_token",jwt_token);
FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().put("lang",lang);
}
This code is called in
public XXCO000_STG_HISTO_AMImpl() {
prepareSession();
}
My issue is that whenever there are two different users connected, the last user is overriding the values i.e. if language of user1 is US and language of user2 is FR. User 1 gets language FR when user2 is connected.
How to use these values in session?
Jdeveloper version 12.2.1.1
Regards