<mortona>
using jruby rack and the java servlet store, is it possible to look up a session by an id on-the-fly. e.g. without being in a controller handling a request?
rawra has joined #jruby
rawra has quit [Ping timeout: 240 seconds]
<headius>
mortona: I believe jruby-rack defines a function you can always call to get current servlet session
<mortona>
is it possible to look up a session given an id? not necessarily the current session
<headius>
Ahh generally not, part of servlet session isolation
<headius>
if you want to share something you'd use some explicit shared store, like the application context
<headius>
I have not looked into jruby-rack in a long time though
<mortona>
by servlet session isolation, do you mean you can only get access to the "current" session?
<mortona>
which i could totally see as a security risk
<headius>
right, for good reason...login credentials etc
<mortona>
if we could start modifying arbitrary sessions
<GitHub10>
[jruby] headius closed issue #4731: [2.4] New Unicode 9.0, case-folding, other character logic https://git.io/v70Mi
<mortona>
reason i'm asking is because i'm trying to correlate a jwt with a session. possibly need to change the arch but this was one avenue i was looking into
bga57 has quit [Remote host closed the connection]