Using Intraweb-Tiwservercontrollerbase

Source: Internet
Author: User


Each application must have only one Server Controller.
TiwservercontrollerbaseUnit and succession chain:
Iwservercontrollerbase.tiwservercontrollerbase < Tiwdatamodule < Tdatamodule < Tcomponent < TPersistent < TObject

Main members:
Property contentpath:string//website static content full path: ... \wwwrootproperty locked:boolean//only read, useless. Property Start       Datetime:tdatetime//Start Time Property startuid:string//Its internal resource extraction is named with this ID, and may only emphasize its uniqueness property Guiactive:boolean Whether in GUI mode;        Only ReadProperty Licensetracking:boolean//Use license related property machinename:string//Computer Name property processid:string Process ID, Internal for Directory Uniqueness Property Rendering:tiwrendering//Two values: Rninfile, Rninmemory (default) Properties Cachefiles:tstrings/ /cache File List Property Servervariables:tstringlist//Can be used to set the global variable property rewriteurl:string//is a property that works with IIS AUTHBEF Orenewsession:boolean//whether to verify before creating Session, default False; This is also related to code writing property appname:string//Application Name property boundip:string//Binding Ipproperty cachedir:string//Cache full path PR Operty charset:string//default Utf8property Cacheexpiry:integer//cache file reserved Number of minutes property Cominitialization:tcominitializat Ion//com initialization option; Its default value, Cinone, means that comproperty Compression:tiwcompressi is not requiredOnoptions//Compression Related Settings Property Description:string//Program Description property Debughtml:boolean//default False; True, the final Html code will be easier to read property Displayname:string//Program Display Name property Log:tlogoptions//Two options: Lonone (Default), Lofile (the Will save the log in the program directory) property Enableimagetoolbar:boolean//When the mouse is on the picture, whether the image toolbar is enabled; Valid only for individual browsers Exceptiondisplaymode:tiwshowmessagetype//exception display mode: Smalert (default), Smnewwindow, Smsamewindow, Smsamewindowframeproperty filesdir:tiwdirectoryname//? It should be useless. Property Historyenabled:boolean//Whether memory page history, allow to use the "forward, Back" button (only in the non-asynchronous state) property Internalfilesdir:tiwdirector      Yname//For ISAPI mode, specify internal file directory property Internalfilesurl:string//For ISAPI mode property Javascriptdebug:boolean Whether to enable JS debugging, Javascriptoptions also has the property htmlheaders:tstringlist//Added to the Html Head of the content property Contentfiles:ts Tringlist//Add JS or CSS Link property mastertemplate:string//Specify main template property Pagetransitions:boolean//Use page Transition effect, only for individual browser property Port:integer//port; So soIs randomly assigned, set only for standalone server programs, does not affect isapiproperty Redirectmsgdelay:integer//Redirect Delay (SEC) Property Serverresizetimeout:integer// Response OnResize Event Delay (MS); The default of 0 is to execute the property auther:tiwautherbase//Specify Validation control property Showloadinganimation:boolean//whether to display loading animation property Sessio Ntimeout:integer//session Timeout minutes; Default 20 minutes, some version restrictions modify property stylesheet:tiwfilereference//Specify *.css file property ssloptions:tiwssloptions//ssl security option; Only for Standalone Server program property templatedir:string//Template folder full path property theme:string//? Will IW use themes in the future? And how does the template coordinate? Property urlbase:string//iw Version Property version:string//intraweb Version Number Property ALLOWMULTIPLESESSIONSP Eruser:boolean//property doctype:string//Specify Html doctypeproperty iecompatibilitymode:string//IE compatibility mode proper Ty Showstartparams:boolean//The start parameter is displayed in the Url of the property Exceptionlogger:tiwexceptionlogger//abnormal logger; This is also the new iw.14; Reference: Http://ww2.atozed.com/Docs/IW/Development/Using the Exception logger.htmlproperty cookieoptions:tIwsessioncookieoptions//cookie option Property Searchengineoptions:tiwsearchengineoptions//property JavaScriptOptions: Tiwjavascriptoptions//js Debug with compression option property httpkeepalive:boolean//whether to save the connection, default False; iw.14.0.11 new Property Securityoptions:tiwsecurityoptions//Security option Property Useinternalfiles:boolean//only Write Not yet seen inside useful it's local property Onafterdispatch:tondispatch//property onbeforedispatch:tondispatch//property OnCloseSess Ion:tonclosesessionevent//property onconfig:tnotifyevent//initialization; Common Property onexception:tonexceptionevent//property Ongetsessionid:tongetsessionid//property onnewsession:to Nnewsessionevent//servercontroller Unit has been used by default property ongetmainform:tongetmainformevent//property onbackbutton:tonb Ackbuttonevent//Point Back button when property onbeforerender:tonbeforerenderevent//property onafterrender:tonafterrenderevent/ /property onusertag:tonusertag//property onsessiontag:tonsessiontag//property OnBrowserCheck: Tonbrowsercheckevent//Browser Judge property Oncreate:tnotifyevent//Common {Several events are executed in the initialization phase: OnConfig, OnCreate, onbrows ERcheck, Ongetsessionid, Onnewsession, Ongetmainform, Onbeforerender, Onafterrender}function Authactive:booleanclass Procedure Setservercontrollerclass//servercontroller Unit initialization ... class function newcachefile (const acontent type:string): string//Create temporary file

It's a little complicated, always replenished ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.