Good day!
I am again with a stupid question!
It means that I am going to make one system, say, it works according to the principle: the user clicks on the button, and the window.open method opens the window, and in this window some actions take place, for example, the values are entered into the database or into the session; then this window should send a request to the page from which it opened it, the command, for example, to update the data on the page or, at worst, the command to refresh the page.
Tell me, please, how can this be realized? On the web sites, for example, this principle is made authorization through social networks!