public HttpSession getSession() {
        return session;
    }
Returns the HttpSession associated with the request, if any.
<p>
<strong>NOTE: Guacamole itself does not use the HttpSession.</strong>
The extension subsystem does not provide access to the session object
used by Guacamole, which is considered internal. Access to an HttpSession
is only of use if you have another application in place that
<em>does</em> use HttpSession and needs to be considered.

@return
    The HttpSession associated with the request, or null if there is
    no HttpSession.
guacamole-ext/src/main/java/org/apache/guacamole/net/RequestDetails.java