How to Lock the perticular document in Web application?

Hi experts,

We are using Lotus Notes 4.6.1(Domino Intranet Starter Pack 2.0) on NT Server to develop one Browser based system.

In this application we want to lock the perticular document, when one person is already editing the document. can it be possible to check the document is in edit mode by some one in WebQueryOpen event.

Waiting for your quick and positive reply with regards,
-Nilesh Shah.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try using Lock and unlock stat in LS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lock and unlock is used for files...if u dont know a particular answer please provide comments!!!
I have sample code to do this, its a bit lengthy, I will send it to u in a week if no one provided u with an answer by that time, coz I'm currently away from office
Hi Aurokripa !

The following link is pertaining to Notes environment.  Try this on web with necessary modifications. 

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.