What is my notes page to delete this alert reminder in judging notes?
In other words, how do I notify my notes page to show this reminder after successful execution of the note removal?
Reply content:
What is my notes page to delete this alert reminder in judging notes?
In other words, how do I notify my notes page to show this reminder after successful execution of the note removal?
This is a one-time session, if you have used ci,laravel,yii similar framework, the manual has introduced a one-off session, the literal meaning of understanding is that the session value is deleted once.
The operation succeeds or fails to write information to the one-time session.
This message reminds you that the view exists on all pages and outputs if there is a one-time session.
Ajax is fine.
I think the nature of this cross-page message delivery is that the server sends real-time messages to the browser
There are generally 3 ways to do this:
Ajax polling (easy to implement, high server pressure, poor real-time)
Long link (black tech, seems bad to achieve)
WebSocket (hope of web messaging mechanism)