Previous PageNext Page

3.1 Registry settings

Chili!Soft ASP uses registry settings for storing some configuration information. On Windows NT systems you can use regedit32 to edit the registry settings. See Editing the Registry on UNIX for instructions for editing the Chili!Soft ASP registry on UNIX systems.
 

Key Default value Description
AllowOutOfProcCmpnts
 
0 (False)
 
Controls whether or not Chili!Soft ASP will allow Active Server Components that do not run in Chili!Soft ASP's process space. Out of Process components are slower than In Process components, but safer because an individual component cannot bring down Chili!Soft ASP.
 
AllowSessionState
 
1 (True)
 
Controls whether or not Chili!Soft ASP will maintain Session state or not. If AllowSessionState is False, the Session object cannot be used.
 
BufferingOn
 
0 (False)
 
Controls whether Chili!Soft ASP returns the HTML generated from an ASP page as the page is processed (BufferingOn = False), or processes the entire page before returning HTML (BufferingOn = True). BufferingOn provides slightly better performance when set to True.
 
DefaultError
 
See Description
 
This value controls the message returned when Chili!Soft ASP encounters a run-time error and cannot process a page. 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 Chili!Soft ASP assumes is used in ASP pages. 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 Chili!Soft ASP will process ASP pages. If False, Chili!Soft ASP will return the message "Chili!Soft ASP has been disabled and cannot process your request" when a user requests an ASP page.
 
EnableParentPaths
 
1 (True)
 
Controls access to the file system by the FileSystemObject outside the ASP application directory and the use of "../" syntax. If False, Chili!Soft ASP will limit file system access by the FileSystemObject to the application directory and subdirectories and will disable the use of "../" syntax in #include and Server.MapPath statements. This is a UNIX only setting.
 
LogDirectory
 
See description
 
Default value = "c:\WINNT\System32\chiliasp"
 
This value controls the directory where Chili!Soft ASP will write the log file if LogToFile is True.
 
LogErrors
 
0 (False)
 
Determines if Chili!Soft ASP Errors should be written to the Chili!Soft ASP log file.
 
LogToFile
 
0 (False)
 
This registry entry is set internally by the Chili!Soft ASP engine to control logging of debug information. Do not modify.
 
LogRequestErrors
 
0 (False)
 
Causes a file called errors to be created in the directory specified by LogDirectory in the NT and Unix products.
 
NOTE: On Linux, the setting 'asplogfile' in the casp.cnfg file takes care of both of these settings. If it contains a valid *filename* (not just directory) then a logfile of that name will be created. If it is blank or contains a bad filename it won't be created.
 
MaxThreads
 
10
 
This value controls the maximum number of threads per CPU that the Chili!Soft ASP engine will use to process requests. This is a Windows NT only setting.
 
NumInitialThreads
 
2
 
The number of threads to start when the Chili!Soft ASP server starts. This feature is not currently implemented, use MaxThreads instead.
 
ProcessorThreadMax
 
10
 
The maximum number of threads to start, per processor. On a 4-CPU server, the default setting would start a maximum of 40 threads. This feature is not currently implemented, use MaxThreads instead.
 
Reset
 
00000000
 
Chili!Soft ASP internal setting. Do not modify.
 
Running
 
00000001
 
This registry entry is set internally by the Chili!Soft ASP engine to indicate whether or not Chili!Soft ASP is running. Do not modify.
 
ScriptEngineCacheMax
 
ffffffff
 
This value controls the maximum number of script engines that Chili!Soft ASP will cache for servicing ASP page requests. This feature is not currently completely implemented. The default setting turns caching on, any other setting turns caching off.
 
ScriptTimeout
 
90 Seconds
 
This is the amount of time Chili!Soft ASP will wait for an individual ASP page to finish processing before canceling the request. The ScriptTimeout can be increased in the script, but can never be set to less than this.
 
SessionTimeout
 
20 minutes
 
This value controls how long Chili!Soft ASP will maintain 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 Session values discarded. The SessionTimeout can be increased in the script, but can never be set to less than this.
 
ShowDefaultError
 
0 (False)
 
This value controls Chili!Soft ASP's response to run-time errors. If True, Chili!Soft ASP will return the message in DefaultError if a run-time error occurs.
 
StartConnectionPool
 
1 (True)
 
If True, Chili!Soft ASP will instruct ODBC to use Connection Pooling when connecting to a database.
 
ConnectionPoolSize
 
25 connections
 
This is the number of pooled connections to open. Least recently used connections in the pool are closed and discarded to make room for new ones when the limit is reached. A zero or negative value turns pooling off. This setting only applies to Unix. On NT, use the ODBC Manager to control connection pooling.
 
ThreadCreationThreshold
 
5
 
When the number of ASP requests awaiting service exceeds this number and ProcessorMaxThreads has not been reached, a new server thread is started. This feature is not currently implemented.
 


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page