As shown in the picture, why is 1 also refreshed when 2 is refreshed in a background project made by PHP?
phpcn_u1582
phpcn_u1582 2017-06-06 09:54:19
0
2
665

][1]

phpcn_u1582
phpcn_u1582

reply all(2)
黄舟

Look at the specific code yourself, so you can’t tell it from the interface. It may be that when you do some database-related operations in 1, 2 monitors the database operations and automatically refreshes them with js.

習慣沉默

Thanks for the invitation!

There are many ways to achieve it:

1) ajax polling
2) php websocket, message push, the message in 2 is pushed to 1 instantly
3) html postMessage cross-window messaging

In fact, it is all about letting 1 get updated news

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template