{"action":"opened","issue":{"url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1144","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1144/labels{/name}","comments_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1144/comments","events_url":"https://api.github.com/repos/FWAJL/FieldWorkManager/issues/1144/events","html_url":"https://github.com/FWAJL/FieldWorkManager/issues/1144","id":99108276,"number":1144,"title":"Overcoming Session Array limitations for Active task module.","user":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-05T03:20:35Z","updated_at":"2015-08-05T03:20:35Z","closed_at":null,"body":"For other points, this problem is bigger then most of the stuff here. I mentioned that few months earlier I think. We will have problems if some piece of data can be modified by multiple users in the same time.\r\nWhen the user logs in, any user type (FT/PM), and he visits some page with data, let's say locations, we will fetch everything and store it in sessions. After that everything that is modified will be stored in DB and in Session, but that user will not read anything related to locations from the DB just from his Session. So editing some location as FT can't be seen by his PM or other FTs if they are logged in already, they have to log out and log in again so that script refreshes their session from the DB. Of course user can't access session of another user so there's that.\r\nHere is the simple diagram: "}}