Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to best accomplish this
#6
I believe the problem is that I am using an older version (15.2.50) of Intraweb 
I am going to update but have a number of TMS IWcomponents that are a bitch to install.
Is there another work around for my Version?

Code:
//This access Violates on the  webapplication.Terminate('hello');
procedure TIWServerController.IWServerControllerBaseBeforeNewSession(
  const aUrlPath: string; aRequest: THttpRequest; out vCanCreate: Boolean);
begin
    webapplication.Terminate('hello');
    VCanCreate:=False;
end;

// this works
procedure TIWForm14.IWButton1Click(Sender: TObject);
begin
  webapplication.terminate('test 123');
end;
Reply


Messages In This Thread
How to best accomplish this - by PDSBILL - 12-19-2023, 02:41 PM
RE: How to best accomplish this - by MJS@mjs.us - 12-19-2023, 06:26 PM
RE: How to best accomplish this - by PDSBILL - 12-20-2023, 02:25 AM
RE: How to best accomplish this - by PDSBILL - 12-20-2023, 06:15 PM
RE: How to best accomplish this - by PDSBILL - 12-21-2023, 08:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)