Using REQUEST_CONTENT with large POST data

Hi,

I am trying to use the POST data request to access the content from Request_Content method. It provides the value if the data volume is less than 64 KB and also had few pages which referred this is resolved with Notes 7 and above. However I am not able to get it working.

Below is a small snippet of what I am using. Pls let me know if any modifications is required and a sample code if possible. Thanks is Advance.

Dim session As New NotesSession

Dim db As NotesDatabase

Dim doc As NotesDocument

Dim i As Integer



Set doc = session.DocumentContext	

doc.HasItem("REQUEST_CONTENT")



Print |Content-Type:text/plain|

Print |Cache-Control: private|



For i = LBound(doc.request_content) To UBound(doc.request_content)



	

Print(doc.request_content(i))



Next

Subject: REQUEST_CONTENT_000 etc

If size of the data being posted is large, there will be multiple items: REQUEST_CONTENT_000, REQUEST_CONTENT_001 etc.