Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



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.

Key
Default Values
Description
AllowOutOfProcCmpnts
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.
AllowSessionState
1 (True)
Controls whether the ASP Server maintains session state. If AllowSessionState is False, the Session object cannot be used.
BufferingOn
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.
DefaultError
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."
DefaultLanguage
VBScript
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.
DefaultScriptLanguage
VBScript
This registry key is not active. See DefaultLanguage.
Enabled
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."
EnableParentPaths
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.
LogDirectory
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.
LogErrors
0 (False)
Determines if ASP Server errors should be written to the Sun ONE ASP log file.
LogToFile
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.
MaxThreads
10
This value controls the maximum number of threads per CPU that the Sun ONE ASP engine uses to process requests.
Running
00000001
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.
ScriptEngineCacheMax
ffffffff
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.
ScriptTimeout
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.
SessionTimeout
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.
ShowDefaultError
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.
StartConnectionPool
1 (True)
If True, enables connection pooling when connecting to a database.



ContentsPreviousNextIndex