Skip to content

New in DataSnap #3

@LJGutierrez

Description

@LJGutierrez

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions