Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New in DataSnap #3

Open
LJGutierrez opened this issue Feb 14, 2021 · 0 comments
Open

New in DataSnap #3

LJGutierrez opened this issue Feb 14, 2021 · 0 comments

Comments

@LJGutierrez
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant