Members | Description |
soShowLicenseInfo | The Server Control Panel will show a tab with the uniGUI License Information |
soAutoPlatformSwitch | This option allows switching between desktop and mobile platforms in a hybrid uniGUI application. In hybrid applications there are two main forms, one for desktop (MainForm) and another for mobile platform (MainmForm). when this option is true, uniGUI server will detect the connected device and will switch to the proper main form. If the connected device is a desktop PC, it will display the application MainForm, otherwise MainmForm will be shown. If this option is not set each platform can be reached by manually entering the related URL. For desktop platform: http://serverip:serverport or http://serverip/mydll.dll For mobile platform: http://serverip:serverport/m or http://serverip/mydll.dll/m |
soDisableBrowserCompatibilityMessage | It disables the message “Your browser is not supported. You may experience compatibility issues” |
soRestartSessionOnTimeout | When enabled and a call is made to a terminated session, uniGUI will start a new session. Otherwise an exception will raise and an error message will be displayed in browser. For instance, if a session is idle for more than SessionTimeout duration, server will automatically destroy that session. If user sends a new request from this session browser will start a new session instead of displaying an error message. |
soAllowSessionRecording | When this option is set uniGUI server will allow session recording. Session recording is done during Stress Test operation. Recorded sessions are played back later to perform the Stress Test operation. This option is disabled by default and should be enabled only during Stress Test. Under normal operations in production this option must be disabled. |
soWipeShadowSessions | A shadow session is an immature session which is created, but not owned by an actual browser session. This may occur when a request is sent to the server for a new session, but the related browser tab is closed before session is fully rendered in the browser page. Another case can be when an arbitrary request is sent to the server which doesn’t originate from an actual web user. Such shadow sessions will consume system resources and should be terminated as soon as possible. By enabling this option uniGUI server will remove such sessions after 30 seconds. Enabled by default. Note: This option won’t be activated when program is debugged in the IDE. |
soControlNameAsId | Use the control name for creating the unique Id |
soDontLoadJQueryLib | When set, jQuery library will not be loaded in web sessions. In this case you need to add your own version of jQuery library. |
soLogSessionCreate | This option will create a log in the log file when a new session is created. |
soLogSessionTerminate | This option will create a log in the log file when a session is destroyed. |
soDontCompressDownloads | This option disables compressing files which are sent trough SendFile or SendStream functions. Normally, uniGUI will only try to compress text files using gzip compression. Binary files such as ZIP files are not compressed by default. However, in some cases you may want to disable gzip compression for all files regardless of their types. For example, there are reports that some versions of FireFox have issues with properly receiving files which are gzip encoded. For new projects this option will be enabled by default. For older uniGUI projects you may need to enable this option if you have issues with file download and FireFox browser. |
soAutoRedirectHttps | This option will redirect a normal non-secure URL to its secure equivalent. For instance, if the incoming URL is http://mysite/myapp.dll it will be redirected to https://mysite/myapp.dll Please take it into consideration that this feature will only work if your server listens on both secure and non-secure URLs. If your site only listens on secure URL, a call to the non-secure URL will result a request timeout and no redirection will occur. |
soTerminateOnSession | This feature will terminate uniGUI server when no active session is left. This applies only to Standalone Server mode. This can be an assist for debugging applications especially for Linux uniGUI application. When this option is set you won’t need to terminate the server manually. Closing the all sessions will automatically terminates the server application too. |
soEnableSessionMonitor | This feature will allow to monitor sessions in server control panel. When this option is enabled the Sessions menu in server control panel will be enabled. Choosing this menu will add a new tab named Sessions to control panel. |
soEnableSessionMonitorAdmin | Setting this option will allow interacting with sessions in the server control panel. For instance you will be able to terminate one or more sessions remotely. It is wise to enable this session only when server control panel is accessed using a username and a strong password. You can enable login form for Server Control Panel by handling ServerModule OnControlPanelLogin event. See also: AllowSessionAdmin. |
soCleanGlobalCache | There are two types of cache in uniGUI. Local cache which is private for each session and global cache which is visible to whole web application. uniGUI internally decides whether it should use local cache or global cache to store cached content. Local cache is erased automatically when a session is terminated. By default global cache is not erased, so web application can re-use its content. When soCleanGlobalCache option is set global cache will be erased when application is terminated or re-started. Provided that the cached file is older than one day (24-hrs). This option is disabled by default. Global cache is stored under folder <app folder>\cache\res\ |