Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWError.html not rendered from raised exception in servercontroller
#3
Hello Kudzu,

Thank you for the reply.

In the IWServerControllerBaseNewSession event.

if GSessions.IsValidSession(ASession) then
    begin
      ASession.Data := TIWUserSession.Create(nil, ASession);

      UserSession.Initialize;
    end;

A mainform is set by default.

In the IWServerControllerBaseGetMainForm event  I have to test for parameters and if valid, assign a different form and serve up a pdf document that is stored in blob field. If the params are valid but the doc does not exist then I TerminateAndRedirect with a message.  If no params or the params are not valid then they are ignored and the default mainform is displayed.

Thank you for your assistance!

Craig
Reply


Messages In This Thread
RE: IWError.html not rendered from raised exception in servercontroller - by Craig Burke - 04-03-2019, 06:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)