04-03-2019, 06:22 PM
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
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