Application Configuration - App Options Property Sheet

Use this property sheet to control how ASP scripts run within the selected application.

Enable Session State
Use this check box to enable or disable session state. When session state is enabled, Active Server Pages creates a session for each user who accesses an ASP application so that so that you can identify the user across pages in the application. When session state is disabled, ASP does not track users and does not allow an ASP script to store information in the Session object or use the Session_OnStart or Session_OnEnd events. A session automatically ends if the user has not requested or refreshed a page in an application by the end of the timeout period. To change the timeout period, type a new number in the Session Timeout text box. A script can explicitly end a session by using the Session.Abandon method. Even when session state is enabled for an application, you can disable session state for an individual ASP page by using the <%@ ENABLESESSIONSTATE = False %> directive.
Enable Buffering
Select this check box to buffer output to the browser. When this option is selected, all output generated by an ASP page is collected before it is sent to the browser. When this checkbox is cleared, output is returned to the browser as the page is processed. Buffering output enables you to set HTTP headers from anywhere in an ASP script. You can override this option in a script by using the Response.Buffer method.
Enable Parent Paths
Select this check box to allow ASP scripts to use relative paths to the parent directory of the current directory (paths using the .. syntax). If you enable this option, do not give the parent directories Execute access; otherwise, a script could attempt to run an unauthorized program in a parent directory.
Default ASP Language
Specifies the primary script language for Active Server Pages, the language used to process commands within ASP delimiters (<% and %>). To choose a different primary script language for all pages in the selected application, type the name of the language in the text box. ASP comes with two ActiveX script engines: Microsoft Visual Basic Scripting Edition (vbscript) and Microsoft JScript (jscript). The initial value of Default ASP Language is vbscript. You can specify the name of any language for which an ActiveX script engine is installed on your server; be sure to use the exact keyword required for your engine as documented by your script engine provider. You can override default language on an ASP page by using the <%@ LANGUAGE %> directive.
ASP Script Timeout
Specifies the length of time ASP will allow a script to run. If the script does not finish running by the end of the timeout period, ASP stops the script and writes an event to the Windows NT event log. You can set the timeout period to a value between 1 and 2147483647. You can override this option in an ASP script by using the Server.ScriptTimeout method.

Note

You can set Application Configuration properties at the Web site, virtual directory, and directory level.


© 1997 by Microsoft Corporation. All rights reserved.