Answer the question
In order to leave comments, you need to log in
Is there a technology for identifying tabs in a browser window?
Good afternoon! As far as I understand, at the moment the HTTP(S) specification does not provide for native identification of tabs in browser windows. Why? Has something to do with security?
But it would be great to allow servers to identify the client with an anonymous random hash.
Answer the question
In order to leave comments, you need to log in
But it would be great to allow servers to identify the client with an anonymous random hash.
https is a "protocol" for encrypting http traffic (not entirely true, of course, but we simplify it). He knows nothing about the browser, knows nothing about tabs, how to display data, and so on. It's just passing data. It can be used by both browsers and scripts, programs, etc.
Therefore, there can be nothing superfluous in it. (because all this is superfluous - you need to implement it in every server around the world. At the same time, 99.999% of sites do not need this).
You speak, already about level of "your application". It may or may not use HTTP.
If you need to make the same application appear differently in each window, i.e. to have different "sessions", then this is your logic.
To do this, you have different options, in particular, the simplest one is to always pass the session number in the address, in the request parameters. Or, make it so that there is a permanent connection to the server, for example, via a web socket. A second tab was opened with the same session - to break the connection in the first tab, or not to allow the second connection to be opened with the same session. There are options :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question