Deleting documents on the web with document locking enabled

I have encountered a problem when I am deleting a document from a database on the web while document locking is enabled in the database. Here is the error that comes up:

HTTP Web Server: Lotus Notes Exception - Document locking is enabled. You must lock the document before deleting.

Does anyone have any ideas on a fix for this? Thank you for your help in advance.

Subject: Deleting documents on the web with document locking enabled

Seema,

If you had searched the forum first, you would have found this thread:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/9ea74a30603c577985256ec50078b554?OpenDocument

Please try searching the forum first in future. I hope this helps.