Hi all,
i think my description is wrong,
Actually, i want to do the following requirement as below:
Admin A login and go to edit Page A, Admin B login and attempts to edit Page
A, system will report that Page A is using by another person, and Page A
will release to public until Admin A click "OK" or "Cancel".
I think i got the big problem when Admin A close the browser un-normally,
e.g: if edit is popup window, Admin A can close the popup window by
top-right corner button. So we can't release Page A and then no one can
access Page A anymore.
Please advise if you have any ideas........ Thanks.
steambun
"Ollie Riches" <ol**********@phoneanalyser.net> ¦b¶l¥ó
news:OD**************@tk2msftngp13.phx.gbl ¤¤¼¶¼g...
have you checked out the FileShare enumeration in the System.IO namespace
http://msdn.microsoft.com/library/de...classtopic.asp
HTH
Ollie Riches
"Stanley Cheung" <st*****@starlabz.com> wrote in message
news:OD**************@tk2msftngp13.phx.gbl... Hi all,
Anyone have a "File Locking" experience?
I want to ask if the application can prevent 2 user access
(concurrently) to
file for content editing...
any lock and unlock mechanism dotnet buildin?
Thanks in advanced.
steambun