Binding directly into the servlet-container could work. The Tomcat manager shows me the sessions, but it needs to be flagged as privileged and certainly goes inside the inner-pinnings. paul Le 14 oct. 2011 à 16:35, Sergiu Dumitriu a écrit :
On 10/10/2011 09:48 AM, farouk korteby wrote:
Hi devs,
I want to get Java HttpSession by JSESSIONID directly from Groovy.
Is it possible ? if yes how ?
Thanks.
No, there's no way of accessing other sessions than your own, for security reasons. There used to be the HttpSessionContext class for getting access to any session, but it has been deprecated since the Servlets 2.1 specification.
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs