ONE Active Server Pages Product Home Page Developer Site Version


Editing the Windows Registry

Sun ONE Active Server Pages for Windows stores some configuration information in the system registry. The registry settings used by Sun ONE ASP are listed in the table below, which provides the key, the default value, and a description. You can use regedit to edit these settings; regedit is installed with the operating system.

Caution icon Caution Take great care when making the changes described in this section. Changes you make could require a complete reinstall of Sun ONE ASP and could void your eligibility for customer support. Back up your data before making any changes.

Default Values
0 (False)
Controls whether Sun ONE ASP allows Active Server Components that do not run in the Sun ONE ASP process space. Out-of-process components run more slowly than in-process components, but they are safer because an individual component cannot bring down the ASP Server.
1 (True)
Controls whether the ASP Server maintains session state. If AllowSessionState is False, the Session object cannot be used.
1 (True)
Controls whether the ASP Server processes the entire ASP page before returning HTML (BufferingOn = True), or whether it returns the HTML generated from an ASP page as the page is processed (BufferingOn = False). BufferingOn provides slightly better performance when set to True.
See description
This value controls the message returned when the ASP Server encounters a run-time error and cannot process a page. It appears if ShowDefaultError = True. The default error message is: "An error occurred on the server when processing the URL. Please contact the system administrator."
This setting determines the language that the ASP Server assumes is used in ASP pages. The other option is JavaScript. This setting can be overridden in individual pages with an @LANGUAGE directive or <SCRIPT> block.
This registry key is not active. See DefaultLanguage.
1 (True)
Controls whether the ASP Server processes ASP pages. If False, when a user requests an ASP page, the ASP Server returns the message "Sun ONE Active Server Pages has been disabled and cannot process your request."
0 (False)
This enables file system access by an ASP application to a directory in the file system that is not contained in the ASP application root directory or its subdirectories.
EnableParentPaths = False is the most secure setting and is appropriate for most shared Web hosting environments. Changing EnableParentPaths to True can affect the security of your server.
See description
Default value = "c:\WINNT\System32\chiliasp"
This value controls the directory to which the ASP Server writes the log file if LogToFile is True.
0 (False)
Determines if ASP Server errors should be written to the Sun ONE ASP log file.
0 (False)
This registry entry is set internally by the Sun ONE ASP engine to control logging of debug information. Do not modify this setting.
This value controls the maximum number of threads per CPU that the Sun ONE ASP engine uses to process requests.
This registry entry is set internally by the Sun ONE ASP engine to indicate whether Sun ONE ASP is running. Do not modify this setting.
This value controls the maximum number of script engines that Sun ONE ASP caches for servicing ASP page requests. This feature is not completely implemented. The default setting turns caching on; any other setting turns caching off.
90 Seconds
This is the amount of time the ASP Server waits for an individual ASP page to finish processing before canceling the request. The ScriptTimeout value can be increased in a script, but this value sets the minimum.
20 minutes
This value controls how long the ASP Server maintains Session values for a user without receiving a page request. If the user is not heard from in this amount of time, the session is canceled and its values are discarded. The SessionTimeout value can be increased in a script, but this value is the minimum.
0 (False)
This value controls ASP Server response to run-time errors. If True, the ASP Server returns a message in DefaultError when a run-time error occurs.
1 (True)
If True, enables connection pooling when connecting to a database.