#1 Re: mORMot 1 » Whay not wont executed event OnSessionClose? » 2022-08-16 19:41:31

Thanks for response ab!
About timeout for all sessions, how can i do for configuration this? I make a test, leaving my app server for more one hour expecting that OnSessionClose were executed, but not!
What lack i to make?

#2 mORMot 1 » Whay not wont executed event OnSessionClose? » 2022-08-16 18:48:35

MARCOSMENDES
Replies: 3

Hello everyone,

I implemented event OnSessionClose in my server application. When the client execute the CloseSession method, the event is executed, but when the application client is abruptly finished (i accessed taskmgr and finished the app) this event does not executed!

Someone know reason? Or this behavior is right!

#3 Re: mORMot 1 » How access WebServer simultaneously with two threads » 2022-08-11 13:43:11

Thanks a lot igors233! At first, to comment SetOptions solved it, but yet we to be make some tests.

#5 mORMot 1 » How access WebServer simultaneously with two threads » 2022-08-10 15:21:55

MARCOSMENDES
Replies: 5

hello folks!

I am a developer of a company in Brazil. We are make migration of owner ERP this company. The technology currently used  is DATASNAP and we are make adaptation for mORMot without uses of ORM. There for, we used the exemple of folder ..\16 - Execute SQL via services. Until right now, all the implementations of data access went maked successes full, but when we need used thread for make two simultaneous connection for access on server, the result is not expected! Is like if the second thread waited the first thread to be finished for maked your process! We are use FireDAC for data access e maked a small example ("162 - Execute SQL via services - Thread") based in your example 16.

New Link:  https://drive.google.com/file/d/13rokeK … sp=sharing

PS:
I would like to say that my example is very simple. It only keep two connections with Web Server and use each one for make request simultaneous throw of threads. To test, i maked first query with more time response and the second more simple with response immediate! But unfortunately, the second request waited the first resquest finish.

thanks per attention!

Board footer

Powered by FluxBB