Unfortunately what the blog above describes does not seem to work anymore...:
HttpSessionContext sc = request.getSession().getSessionContext(); HttpSession userSession = sc.getSession(sessionId); userSession.setAttribute("myObject", cr); It silently fails with an exception at the last line, an exception without a message... 2009/7/13 Yves Glodt <ygl...@gmail.com>: > Thanks for telling. I found another way (deprecated) in the mean time: > > http://javasolution.blogspot.com/2007/08/getting-session-object-using-session-id.html > > 2009/7/13 Mikolaj Rydzewski <m...@ceti.pl>: >> Yves Glodt wrote: >>> >>> is it possible to "open" a different HttpSession than my "own" (if >>> it's session-id is known), and set an attribute in that session? >>> >> >> You can perform HTTP request with session cookie explicity set. >> >> -- >> Mikolaj Rydzewski <m...@ceti.pl> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org