On Feb 11, 11:12 am, Hans Hartmann <li...@ruby-forum.com> wrote: > > 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 > I have to check on which site all session users currently are. > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.