You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
601 B

using System.Collections;
using System.Web;
namespace AjaxSampleCS.Sample2
{
/// <summary>
/// This is a simple class that manages locks on documents. Before editing a document
/// a page should attempt to Acquire a lock, and when done it should release the lock
///
/// The class also contains our AJAX-friendly methods
/// </summary>
/// <remarks>
/// The list of locked documents is held in the Application which has 2 significant impacts
/// (1) the locker can't be used outside of a web environment
/// (2) the locker isn't scalable (it won't work across 2+ web servers)