Telegram_2024-10-24T20

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2024 > 10 > 24 >

Telegram_2024-10-24T20

Telegram link

 

2024-10-24T20:45:05

 

Hi saleh, I would use a write locked flag on the server controller, FSendNotification: Boolean to signal that all of the current sessions that an alert needs to be send. On the user session a flag signaling if the alert was already sent: FNotificationSent: Boolean, and in each TIWForm you have, you need to add an TIWTimer, that checks ServerController.SendNotification with lock protection. if True and UserSession.NotificationSent = False, shows an alert, and sets UserSession.NoticationSent to True. My 5 cents