There is a difference between Web reminders and Windows reminders. Because of the special nature of HTTP connections, they will be automatically disabled after the request is complete.
Step 1: Build a persistent connection. it is used to send messages to the client. there are multiple methods. in Asp.net, we can implement resetautoevnet using this object to prevent the thread from continuing to run. set a message when it comes. which of the following information will be sent to the client, causing some client events. implemented the reminder function.
Step 2: how to create a suitable dialog box to remind users? We used Popup. In the past, we thought it was a layer when people came out of the "you have new messages.
Step 3: We will use a thread to maintain the reseautoevent list and memo reminder message, so that it can send messages to the client at the time of arrival. Popup will pop up.
The alternative method of Step 1: You can write an httplistner by yourself. The second method is to get messages from the server through constant refreshing.