[This is preliminary documentation and subject to change]

Active Server Pages

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 check box 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.

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 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-2001 Microsoft Corporation. All rights reserved.