Commit d8f8bd61 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

refs #1627 makes sure that each instance of ServerHandler uses its own session

parent 6f7669de
......@@ -34,7 +34,7 @@ public final class ServerHandler {
public Server getServer(final HttpServletRequest request) throws IOException {
NesstarDB db = NesstarDBFactory.getInstance();
db.setSession("dropwizsession");
db.setSession(toString());
Server server = (Server) request.getSession().getAttribute(SERVER);
if (server == null) {
server = db.getServer(serverURI);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment