do not create a session for debug servlet

This commit is contained in:
Sebastian Sdorra
2015-03-15 12:34:49 +01:00
parent 25a82e5e1c
commit 68cf846818

View File

@@ -229,9 +229,13 @@ public class DebugServlet extends HttpServlet
printHeader(writer);
appendContextAttributes(writer);
HttpSession session = request.getSession();
HttpSession session = request.getSession(false);
if (session != null)
{
appendSessionAttributes(writer, session);
}
appendSessionAttributes(writer, session);
printFooter(writer);
}
finally