Contains the full path the Application is installed.
Contains the URL for the IntraWeb general cache.
Indicates the GUI for the Stand Alone Server is active.
Contains the computer name your application is running
Contains the full path to the folder used as the IntraWeb cache for a specific User Session. You usually uses this property for saving temporary files on the user cache. IntraWeb deletes all files saved on the user cache folder when the user session expires.
Contains the URL for the cache for a specific User Session. Use this property for exposing user content you saved on the user cache, as for example a temporary report.
- procedure TfrmCustomers.IWLink1Click(Sender: TObject);
- xReport: TStringList;
- xFileName: string;
- xReport := UserSession.DM.CustomerOrdersReport(fCustomerID);
- xFileName := gSC.UserCacheDir + UserSession.DM.GenRandomName + ‘.txt’;
- WebApplication.SendFile(xFileName, True, ”, ‘Customer Report’ +
- UserSession.DM.Customers.Dataset.FieldByName(’CustNo’).AsString + ‘.txt’);
Informs IntraWeb if the User Authorization will be requested before a user session is created. If you do not uses any custom authorization that depends on any property/method you have delcared on your User Session class, leave this property as False. See also Authorization components.
Contains the application name.Used when you install your SA Server application as a Service.
Use this property to specify a IP the SA Server application will be bound to. Specialy useful when you run your SA Server in a computer with several network adapters.
Contains the full path to the folder used as the IntraWeb general cache.
Informs IntraWeb to call automatically COM initialization routines and the COM model to apply.
Use this property to inform IntraWeb to use compression and also which compression level. IntraWeb compression uses ZLib.
Contains the application Description. Used when you install your SA Server application as a Service.
Contains the Display name for the application. Used when you install your SA Server application as a Service.
Log: TLogOptions; TLogOptions = (loNone, loFile);
Use this property to inform how IntraWeb saves its Log information (used internally by IntraWeb in some parts of the code). When you enable this property, IntraWeb generates the log file in the same folder as your application.
Use this property to enable the image tool bar when the user pass the mouse over an image (Internet Explorer only);
ExceptionDisplayMode: TIWShowMessageType (smAlert, smNewWindow, smSameWindow, smSameWindowFrame);
Use this property to inform IntraWeb how to show an Application Expcetion to the user.
Use this property to control the behavior of the TIWExceptionLogger class instance.
Use this property to add custom tags to the headers of your IntraWeb forms. When you add some content to this property, all IntraWeb forms will include it when rendered.
Use this property to specify a master template for your application. See Working with Templates for more information
Use this property to enable page transitions to your application. Works only on Internet Explorer.
User this property to inform in which port your Stand Alone Server application will be listening too. Only valid for Stand Alone Server type applications. See Stand Alone Server deployment for more information. Read more about TCP Ports.
Use this property to specify the amount of time (in miliseconds) the browser will wait for Server when the IW Form has any code assigned to the OnResize event.
Use this property to assign one of the built-in Authorization components from IntraWeb. The Authorization components uses the default browser login/password dialog. See Authorization Components for more information.
Use this property to indicate IntraWeb to show a loading animation when loading/rendering pages.
Use this property to indicate the amount of time (in minutes) a user session can remain idle (ie, no user activity in the browser) at the server side. Read only for Personal and Standard editions with the default value of 20 minutes.
Use this property to indicate a general CSS file for all your IntraWeb forms. The CSS file must be located within the ContentPath folder.
Use this property to indicate the SSL options for your application. Only for Stand Alone Server applications. For ISAPI, use the IIS SSL features.
Use this property to indicate the folder your application’s templates are located. The default value "Templates", which means the Templates Folder must be under the application folder.
This property indicates the relative URL for your application’s website. You can use it mainly for link compositions. (Incomplete)
Shows the current IntraWeb version
Indicates if your application suppors multiple user sessions within the same browser window, if your browser support multiple tabs. Check the advanced topics in the Server Controller page for more information.
Set a URLResponder component to control your application behavior when a unhandled request is received. See Using URL Responders
Set a URLResponder component to control your application behavior when a timeout occurs. See Using URL Responders
Use this property to indicate IntraWeb to keep your URL parameters on the URL after being processed by the application.
Use this property to indicate IntraWeb a DocType to be used when rendering your pages.
Use this event to make any pos-processment after the your application dispatches a client request. You need to include the units IW.Http.Request (THttpRequest) and IW.Http.Reply (THttpReply) in your uses clause.
- procedure TIWServerController.IWServerControllerBaseAfterDispatch(Request: THttpRequest; aReply: THttpReply);
- if (aReply.Code ry<> 404) then begin
- Log(’User agent: ‘ + Request.UserAgent);
- Log(’Content Type: ‘ + aReply.ContentType);
Use this event to modify the IntraWeb reply before it is sent to the client or any other processment needed by your application. You need to include the units IW.Http.Request (THttpRequest) and IW.Http.Reply (THttpReply) in your uses clause.
- procedure TIWServerController.IWServerControllerBaseBeforeDispatch(Request: THttpRequest; aReply: THttpReply);
- if Pos(’192.168′, Request.RemoteAddr) = 0 then begin
This event is triggered when a User Session is destroyed.
This event is truggered when an Exception occurs in your application.
This event is triggered after a user session is created and just before IntraWeb creates a session ID for the user session. Use this method if you need to create a custom session ID for each user session.
This event is triggered just after a new user session is created.
This event is triggered when the track ID of the application is out of sync. For more information see The OnBackButton on the Server Controller advanced topics.
This eventis triggered before IntraWeb renders the next form to be shown to the user. You can use this event to show another form to the user, instead of the form to be shown.
- procedure TIWServerController.IWServerControllerBaseBeforeRender(
- ASession: TIWApplication; AForm: TIWBaseForm; var VNewForm: TIWBaseForm);
- if not UserSession.CheckFormSecurity(AForm.ClassName) then begin
- VNewForm := TLoginForm.Create(WebApplication);
- TLoginForm(VNewForm).FormToRequestAuth := AForm.ClassName;
- AForm := Nil;
This event is triggered after a form is rendered.
This event is triggered when the IWP parser finds a user tag in a HTML page served by your application. For more information see User Tags.
This event is triggered when the IWP parser finds a sessiohn tag in a HTML page served by your application. For more information see Session Tags.
This event is triggered when a new user is connecting ro your application. Use this event to determine the application behavior in accordance to the browser the user is using. See Browsers Support on the Server Contoller advanced topics.