https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31109

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from David Cook <[email protected]> ---
In bug 34164 there is a need to track what page a user is/was on, so that they
can be redirected back to it. We do that by storing data in the user session.

In this bug, there's a need to know who else is on the same page as the user.
But we don't currently have a robust way to query every user's session at the
same time...

I suppose one way to do it would be to have another table like
"session_activity" which is keyed off the "sessions.id". We could populate that
for all session activity or just for bib record changes to start.

In the bib editor, we could send a heartbeat message to the API every X
seconds, and the API could reply saying if anyone else has been editing that
records in the last Y seconds. 

(Note: We'd have cascading delete set up for the foreign key to sessions.id, so
that cleanup_database.pl would automatically clean up session_activity too on a
nightly basis.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to