You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made my first DataSnap and it is working fine. Now I want to decorate it with some additional functions. One of them is to handle a List with records that every xx minutes must be sent to disk. I have two questions, how can I generate the global class to any session and all sessions can access it? This variable must be ThreadVar or Var? ... I declared one in WebModule the Thread Var but it doesn't work well because dissapear when a second session is created! ... The procedure to save to disk is a Timer ... do you recommend that or there is a more "elegant" solution?
The text was updated successfully, but these errors were encountered:
Dear Mr. Rizzato,
I made my first DataSnap and it is working fine. Now I want to decorate it with some additional functions. One of them is to handle a List with records that every xx minutes must be sent to disk. I have two questions, how can I generate the global class to any session and all sessions can access it? This variable must be ThreadVar or Var? ... I declared one in WebModule the Thread Var but it doesn't work well because dissapear when a second session is created! ... The procedure to save to disk is a Timer ... do you recommend that or there is a more "elegant" solution?
The text was updated successfully, but these errors were encountered: