Skip to content
Snippets Groups Projects
Commit 5dea5e16 authored by kaloyane's avatar kaloyane
Browse files

minor: added logging statements to show if loosing openBIS sessions is due to...

minor: added logging statements to show if loosing openBIS sessions is due to the browser not sending a correct JSESSIONID cookie ?

SVN: 19821
parent cbcb93a8
No related branches found
No related tags found
No related merge requests found
...@@ -319,6 +319,11 @@ public abstract class AbstractClientService implements IClientService, ...@@ -319,6 +319,11 @@ public abstract class AbstractClientService implements IClientService,
} }
if (sessionToken == null) if (sessionToken == null)
{ {
String sessionId = (httpSession != null) ? httpSession.getId() : null;
String logMessage =
String.format("Unable to find session token in session [%s], sessionId=[%s]",
httpSession, sessionId);
operationLog.info(logMessage);
throw new InvalidSessionException("Session expired. Please login again."); throw new InvalidSessionException("Session expired. Please login again.");
} }
return sessionToken; return sessionToken;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment