Hello,
I've just create a TuniThreadTimer in my servermodule in order to generate serverside procedure, interval lunched.
First question is about the place into put that timer, is the servermodule the right place? ( i suppose this is the place where run somthing detached from the users sessions).
If the first question's answare is "yes, it is right", how can i access object designed in the mainmodule ?
I suppose to use the objects declared in the mainmodule, like connections and querys, to perform my goals. Also instanziate a mainform or other unit to re-use the object declared inside and their own procedure.
It is all possible, or part of , or there is a way to simulate a session to use all declared classes?
Evenif what is the right design pattern to perform actions in server-side detached from users session with timer event?
thanks,
Davide