Advanced Settings

Description

Advanced settings for configuring the Application Server.

images/advancedSettings.png
Advanced settings tab (Note: some properties described below have been relocated to other tabs. We apologize and are in the process of updating this page)
Settings
Description
Systray Caption

The text to display in the Systray caption for the server.

Maximum URI Length (bytes)

The maximum length of a URI that the server can receive in bytes.

IP Address Binding

The maximum allowed requests per Keep-Alive connection before using a new connection.

MIME Types File

The location of the MIME types file. The default name of the MIME types file is MIMETypes.xml. MIME types can be extended by adding them to the MIME types file.

License Lease

Settings for configuring the length of the license lease.

Lease Lifetime

Specify the lifetime of the license lease in minutes. Default value is 15.

Temporary Files

Configure how the server handles temporary file clean-up.

Remove files older than

Temporary files older than the specified number of minutes will be removed. Default value is 15.

Read Timeouts

Defines the maximum amount of time to wait for a response for a request header or request body.

Request Headers

Specify the read timeout for request headers in seconds. Default value is 30.

Request Body

Specify the read timeout for the request body in seconds. Default value is 60.

Build-In Resources

Control whether or not built-in resources are used.

AJAX URL Processing

Enable or disable Ajax URL processing.

Internal Image Library

Enable or disable the use of the internal Alpha Anywhere image library.

Alpha Software Favicon

If checked, the Alpha Software favicon will be used in web applications.

Alpha JavaScript Library

Enable or disable the use of the Alpha Anywhere JavaScript Library.

Sessions

Options for controlling how the Application Server handles sessions.

Cookie Name

Default value is 'A5WSessionId'.

Lifetime in minutes

The length of a session, specified in minutes. If a session is inactive for longer than the specified time, it expires. Default value is 15.

Same Site Mode

The Same Site Mode specifies how cookies are served from the Application Server for cross-origin requests.

Mode
Description
Unset

The SameSite attribute is not set and is not sent with requests. Required for Cordova mobile apps.

None

The SameSite attribute is set to "None". Cookies are sent in all contexts, including cross-origin. A SameSite policy of "None" requires SSL.

Lax

The SameSite attribute is set to "Lax". Cookies are allowed to be sent in top-level navigation and in GET requests to third-party websites.

Strict

The SameSite attribute is set to "Strict". Cookies are only sent in first-party context. Cookies are not sent to third-party websites.

To learn more about Same Site cookies and solutions for common warnings, see SameSite Cookies (MDN)

You must set the Same Site policy to Unset if you are deploying Cordova Applications that must communicate with the Application Server.

Transfer Maximums

Specify limitations for file upload (POST) and downloads.

Maximum file download size (MB)

The maximum file size allowed for download in MB. Default is 512.

Maximum POST body size (MB)

The maximum size permitted for a POST body in MB. Default is 32.

Automatic Log Rotation

Configure the application server to rotate log files daily or when the log file grows to a maximum size.

Rotate Daily

When enabled, log files will be rotated daily.

Rotate By Size

Rotate log files when a specified file size limit is reached.

Log File Size Limit (KB)

Defines the maximum size of a log file for the Rotate By Size behavior.

Advanced Logging

Advanced logging options for tracing socket data and thread transitions.

Trace Socket Data

Enables logging of socket data. Socket logging should be turned off in a production environment.

Log Thread Transitions

Enables logging of Xbasic thread transitions. Thread logging should be turned off unless explicitly requested by Alpha Software for use in debugging.

Listener Recycling

These properties in the Classic server control the socket recycling.

The Application Server periodically recycles the TCP socket which is being used to provide service in order to free up unused resources being held by the operating system. Any active connections would be terminated during a recycle operation so this is only done when the server is idle.

Minimum server idle time sets the amount of time during which the server must have no active connections before the socket will be recycled. On a busy server that does not have any long periods of inactivity, setting this value too high may prevent any recycling from happening. The default value is 300 seconds (5 minutes).

Minimum time between recycles sets the amount of time that must pass since the last recycle operation (or the start of the server) before a recycle operation is initiated. As the recycle is intended to clear accumulated resources, there is minimal benefit to performing this operation more frequently than resources are being consumed. The default value is 3600 seconds (1 hour).

Response Headers

Include response headers such as X-Powered-By and X-AspNet-Version. These are not included by default. Add headers to a response. If a response header already exists, it will be overridden by the header defined here.

Here in the Classic application server, the setting is the last on the Advanced tab in the Server Settings dialog (image at top of page).

For the IIS server and Alpha Cloud, the setting is available in the Web Project Properties dialog. See Web Project Settings for more infomation.

The following dialog is used for both server types (Classic/WIS and IIS) to turn off insecure headers (Server, X-Powered-By, X-ASPNET-Version) by un-checking Include insecure headers, and to add custom headers with specific values.

See Web Project Settings for Response Header options dialog - example view.

Response header options - default view
Response header options - default view

See Also