List of users who have opened the same record for either viewing or editing

Hi Team,

I have a requirement where I have to show the list of users who have opened same record in a site.

I have record type with 'related actions' to view the record details, my requirement is if user A has already opened the record and if another user B opens the same record, then both of them should be able to see on the summary page that the other user has also opened the same record.

We don't need to lock the record rather just display who all are viewing the same record at the same time.

Any help is appreciated.

Thank you

  Discussion posts and replies are publicly visible