Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6161559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:30:04+00:00 2026-05-23T21:30:04+00:00

I have a system where I would like to show a warning to a

  • 0

I have a system where I would like to show a warning to a user if there try and edit a record that is currently been edited. If this is the case the user will not be able to save the record but only view it.

I have an idea of using some kind of class to monitor the activity of records been edited etc but this seams a little over kill. My other concern is that what if the browser crashes or there shut their computer down on how this will effect the state of the page.

Another thought was to use last updated time stamp but this also looks a no go because the way records are been updated.

Has anyone got any thoughts or resources on how I could implement something like this. No code is necessary.

based on the comments I have added these additional details.
database is SQL server 2008
asp.net 3.5
one record could be many parts of the database for instance, the booking table session table and a row in the interrupter table.

the user will look at a list of sessions that need booking select a booking and fill out a booking form to make the booking. Want to stop is someone else trying to do the same booking at the same time or while someone else is doing the booking.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:30:05+00:00Added an answer on May 23, 2026 at 9:30 pm

    Esentially I maintain an Edit (lookup) table in the SQL database comprising 4 fields UserID, Action, EntityID and Datestamp and link that to each associated page and editable item.

    So, for example if the user is on the edit Foo webpage and clicks the edit link, the program will perform a lookup of the Edit table and if nobody else is editing a record does an insert, i.e: 4, 'Edit Foo', 123, GETUTCDATE() where 123 is the ID of the Foo being edited.

    There are many further functions to the process, for example, if a user is in edit mode for a length of time the record automatically removed from the table and the item becomes editable again.

    However, the solution works very well for us in a high use environment. I hope you get the idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a gridview that i would like to show or hide a text
I would like to have pretty URLs for my tagging system along with all
On a small embedded system project we have some code which we would like
I have a system.collections.generic.list(of ListBox) I would like to use the collection classes built-in
I copy if ((MessageBox::Show( Are you sure that you would like to close the
I have a system that combines the best and worst of Java and PHP.
I have a system that uses a meta refresh to a logout page, which
We have a system where customers, mainly European enter texts (in UTF-8) that has
I have two system calls GetSystemTime() and GetThreadTimes() that I need to calculate the
In C#, is there any built-in way to correct URLs that have parent pathing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.