Link to home
Start Free TrialLog in
Avatar of vcurtis
vcurtis

asked on

How can I have my application notify me of someone is looking at the same record in the database

Please help
  I am updating an asp.net c# application to tell me when someone has the same application open on a different browser and looking at the same record I am. I need for it to say " Record open by username" or something to that aspect
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Simple answer is not possible.
Avatar of vcurtis
vcurtis

ASKER

can you psedo code it, or do you have a reference or sample code
SOLUTION
Avatar of Russ Suter
Russ Suter

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've seen this sort of thing before in scenarios when another user has the record open for editing, but not just for viewing. The difficulty with web applications for this sort of thing is knowing when the user has finished looking at a record.

Is it actually viewing the record you want to know about, or is it just if somebody is actively editing it?
Avatar of vcurtis

ASKER

Thank you for your comments.

additional information
1) I want to know when someone is looking at the record, therefore blocking them from editing
2) I am using webforms. so if anyone has any sample code or examples. I would grately appreciate it
webforms are stateless.  just because a record is visible and even if you start to edit it and then disconnect  there is no way of if you locked the record to unlock the record.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vcurtis

ASKER

Awesome answes, Thanks for the help