ONE Active Server Pages Product Home Page Developer Site Version


Enabling Scripts Buffering

Sun ONE Active Server Pages enables you to buffer ASP scripts to improve server performance. When scripts buffering is enabled, the ASP Server waits until the entire ASP page is processed before returning the results to the browser. When scripts buffering is disabled, the ASP Server returns the HTML output for an ASP page to the browser incrementally, as soon as it is processed. For a production server, it is best to enable scripts buffering. During development, however, you might want to disable scripts buffering to make it easier to debug problems with your ASP pages.

To enable or disable scripts buffering

  1. Open the Administration Console (see Accessing the Administration Console).

  2. On the ASP Server tab of the Server Management page, click Settings.

  3. The Server Settings page displays.

  4. In the Scripts buffering on drop-down list, select yes or no.

  5. Click Save, and then restart the ASP Server by clicking Restart on the Server Management page.

  6. Note icon Note Restarting the ASP Server resets all Session and Application variables.