TECH TIP: Start a New Web Session The following example shows how to ask the global WebSessionManager to create a new session. This results in the aWebRequest.SessionID being assigned. uses rsWebSessionManager; procedure TWebModule1.WebModule1waDefaultAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); var lWebRequest: TrsWebRequest; lSession: TrsWebSession; begin {use the incoming request parameters to create a Full Article…
Search the Wiki
IIS User Accounts
RB WebTier and IIS User Accounts Question: “I am trying to configure and test the RB WebTier using IIS. When I try to test the web tier via my web browser an Internal Server 500 Error page is displayed.” Answer: This is generic error page returned by IIS. One cause of this error is that Full Article…
How To…Determine Web SessionID
Question “How can I determine the SessionID for each web request?” Solution The following example shows how to use the webTier and WebSessionManager to determine the SessionID for each request. Download: WebTierSessionID.zip Sample Delphi code: uses rsWebRequest, rsWebSessionManager; procedure TWebModule1.WebModule1WebActionItem1Action(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); var lWebRequest: TrsWebRequest; begin // create a Full Article…