Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

Editing the Windows Registry

Sun Chili!Soft ASP for Windows stores some configuration information in the system registry. This topic describes the registry settings Sun Chili!Soft ASP uses. You can use regedit32 to edit these settings; regedit32 is installed with the operating system.

Caution

Take great care when making the changes described in this section. Changes you make could require a complete reinstall of Sun Chili!Soft ASP, and could void your eligibility for customer support. Be sure to back up your data before making any changes.

 

Key

Default Value

Description

AllowOutOfProcCmpnts

0 (False)

Controls whether Sun Chili!Soft ASP allows Active Server Components that do not run in the Sun Chili!Soft 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 JScript. 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 Chili!Soft ASP has been disabled and cannot process your request."

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 Chili!Soft ASP log file.

LogToFile

0 (False)

This registry entry is set internally by the Sun Chili!Soft ASP engine to control logging of debug information. Do not modify this setting.

LogRequestErrors

0 (False)

Creates a file named "errors" in the directory specified by LogDirectory.

MaxThreads

10

This value controls the maximum number of threads per CPU that the Sun Chili!Soft ASP engine uses to process requests.

NumInitialThreads

2

The number of threads to start when the ASP Server starts. This feature is not currently implemented. Use MaxThreads instead.

Reset

00000000

This is a Sun Chili!Soft ASP internal setting. Do not modify this setting.

Running

00000001

This registry entry is set internally by the Sun Chili!Soft ASP engine to indicate whether Sun Chili!Soft ASP is running. Do not modify this setting.

ScriptEngineCacheMax

ffffffff

This value controls the maximum number of script engines that Sun Chili!Soft 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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.