Character limit in request_boolean_from_primary_client

We are trying to render some html content on a popup window using request_boolean_from_primary_client. It works fine, except that this function limits us to 255 characters, which is a pretty strict limit when trying to add html content. Is there any way around this limit?