KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Sending HTML text with more than 32K characters
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: July 11, 2007

If you are currently serving web pages using SEND HTML TEXT you will reach a limitation if you use more than 32K characters. When you reached this limit, convert the text into a blob and use SEND HTML BLOB to send the page.

Algorithm:
1. Place text in chunks of 32K characters into a blob with command: TEXT TO BLOB

2. Execute SEND HTML BLOB to send the page to the browser. For the type, use any of the extensions with the Mime/Type text/html.

Related Sources:
Sending Text with SEND HTML BLOB