As part of exception handling, I want to print data from HTTP session like below:
try{  
    //business logic
} catch(Exception ex){
    String user = session.get("userId"); //get user from HTTP Session.
    log.info("Exception when processign the user "+user); 
}
My question is do I get the correct UserId for which exception occurred since there will be mulitple threads updating the session?
 
     
     
    