Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: AV's and IWButton.picture.data: the parameter is incorrect
#14
Hi MrSpock,

Are you saying that only vars defined in the UserSession unit, is safe between the users and that all vars defined locally in forms being created from the main form, are NOT safe between the users ?

I have a number of forms being created the way you describe (form.create(webapplication).show) and though they do not have many "own" vars, there are a few in total. However, almost every form in turn creates a datamodule, on which I have a number of ADOQuery components, locally defined for the datamodule in question and where the code to access them is in the implementation part.

With what I'm experiencing with data from selects being mixed among users, I should maybe move all ADO components to the userSession, and only have the code to access them in the datamodules ?

But to be honest i am quite surprised about this. My expectations with intraWeb, in my case SA HTTP.SYS applications running as a service on a Win server, was that when setting ServerController.Cominitialization to MultiThreaded, ALL of the vars and forms being used and created during the session lifetime, was shielded from any other users calling the same service and having sessions created at the same time. If that is not the case, I should maybe forget about http.sys and focus on creating isapi applications and use them on the webserver instead.

Regards
Soren
Reply


Messages In This Thread
RE: ERROR: AV's and IWButton.picture.data: the parameter is incorrect - by SorenJensen - 02-09-2020, 02:27 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)