I’m not sure what you’re after - requests aren’t persisted anywhere
(unless you’re doing something special to do that)
I want to find a possibility to get the PATH_INFO of each session user.
My first opinion to do that was to list the env of all sessions.
The reason I want to do that is to forbid, that two session users can
access an update form on the same time.
I don’t think there’s anyway of doing this without you storing details
of all requests (is there even a thing as ‘the’ PATH_INFO? A user
could have multiple windows)
I think you’re approaching this wrong way. I would tackle this by
having a flag saying that a record is being used/edited by someone
else.
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.