Known Issue with Internet Explorer and Plain Text Content

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced | Site Builder


If the content type for a file is set to text/plain in the HTTP header and the file name has an .ssp or .ss extension (defined in either the response header or the URL), Internet Explorer may attempt to save the file rather than display it inline.

This is a known issue with Internet Explorer 9 and may also occur with previous versions of Internet Explorer. This issue does not occur with files that have HTML rather than text content.

To ensure that Internet Explorer displays the contents of a file inline, you should use response.setContentType() to rename the file with a .txt extension, as in the following example:

function service(request, response) { response.setContentType('PLAINTEXT', 'my_SSP.txt', 'inline'); response.writeLine('hey'); }